> 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 grava 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.&#x20;

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

Os ficheiros serão rotacionados se o ficheiro mais recente tiver atingido o [Rotação de Registos](#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 IU. Se definir 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`

![](/files/fcfe037819e861592c9d5a09f2df0a424b84ecb2)

<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 registos de erro serão armazenados</td></tr><tr><td>Info (predefinição)</td><td>2</td><td>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>

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

1. Via GPO, veja [definições via GPO](/pt/configuration/management-options/settings-via-gpo.md)
2. Para enviar políticas via Intune, veja [definições para Dispositivos Geridos pelo Intune](/pt/configuration/management-options/setting-for-intune-managed-devices-1.md)
3. Manualmentе 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:** `LogLevel`
* **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 de Registos

{% 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 Rotação de Registos 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:** `LogRotation`
* **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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
