> For the complete documentation index, see [llms.txt](https://docs.konnekt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.konnekt.io/pt/configuration/system-settings/logging.md).

# Registo

KONNEKT escreve o registo em `%localappdata%\KONNEKT`. O registo consiste em até 6 ficheiros, que são rotacionados, se estiverem cheios:

* client.txt
* client.1.txt
* client.2.txt
* client.3.txt
* client.4.txt
* client.5.txt

`Client.txt` contém as linhas de registo mais recentes e `client.5.txt` as linhas de registo mais antigas.

As [Nível de registo](#log-level) a definição determina que informação é escrita no registo.

Os ficheiros serão rotacionados, se o ficheiro mais recente tiver atingido o [Rotação do Registo](#log-rotation) tamanho.

## Nível de registo

{% hint style="info" %}
Disponível para KONNEKT 2.1 ou mais recente
{% endhint %}

O utilizador pode alterar esta definição no menu de preferências da interface. Se fizer a definição por política, os utilizadores já não a podem alterar.

O nível de registo predefinido é `info`.

**Nome da política:** `Nível de Registo`

![](https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2FKFhNNx0338eBxhuwVxX3%2F2022-02-25%20Log%20Level.png?alt=media\&token=00920638-a3d6-4739-8630-b4858c7e1314)

<table><thead><tr><th width="232.33333333333331"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Opção</strong></td><td><strong>Valor</strong></td><td><strong>Comportamento</strong></td></tr><tr><td>Sem registo</td><td>0</td><td>Sem registo</td></tr><tr><td>Erro</td><td>1</td><td>Apenas os registos de erro serão armazenados</td></tr><tr><td>Info (predefinido)</td><td>2</td><td>Os registos de informação e de erro serão armazenados</td></tr><tr><td>Depuração</td><td>3</td><td>Todos os registos serão armazenados</td></tr></tbody></table>

### **Há várias formas de aplicar a política**

1. Via GPO, consulte [definições via GPO](/pt/configuration/management-options/settings-via-gpo.md)
2. Para enviar políticas via Intune, consulte [definições para dispositivos gerenciados pelo Intune](/pt/configuration/management-options/setting-for-intune-managed-devices-1.md)
3. Manualmente, adicionando a chave no registo

### Definição manual no registo

{% hint style="info" %}
Não precisa disto se utilizar a gestão por GPO ou Intune
{% endhint %}

* **Nome do valor:** `Nível de Registo`
* **Tipo de valor:** `REG_DWORD`
* **Dados do valor:** `0, 1, 2 ou 3` (ver tabela acima)
* **Valor armazenado em:**
  * `HKEY_CURRENT_USER\SOFTWARE\Policies\glueckkanja\Konnekt`\
    ou
  * `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\glueckkanja\Konnekt`

## Rotação do Registo

{% hint style="warning" %}
Por favor, não utilize esta definição a menos que seja solicitado pela nossa equipa de suporte.
{% endhint %}

A definição de Rotação do Registo determina o tamanho máximo de um ficheiro de registo. O **predefinido** é 1 MB (1024 \* 1024 = 1.048.576 bits), de modo que o tamanho total máximo de todos os 6 ficheiros de registo é 6 MB.

* **Nome do valor:** `Rotação do Registo`
* **Tipo de valor:** `REG_DWORD`
* **Dados do valor:** Tamanho máximo dos ficheiros; a unidade é bits
* **Valor armazenado em:**
  * `HKEY_CURRENT_USER\SOFTWARE\GlueckKanja\Konnekt`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.konnekt.io/pt/configuration/system-settings/logging.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
