> 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/ja/configuration/system-settings/logging.md).

# ログ

KONNEKT はログを次の場所に書き込みます `%localappdata%\KONNEKT`。ログは最大 6 個のファイルで構成され、いっぱいになるとローテーションされます:

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

`Client.txt` 最新のものと `client.5.txt` 最も古いログ行を保持します。

主な [ログレベル](#log-level) この設定により、ログにどの情報が書き込まれるかが決まります。

最新のファイルが次の [ログローテーション](#log-rotation) サイズに達すると、ファイルはローテーションされます。

## ログレベル

{% hint style="info" %}
KONNEKT 2.1 以降で利用可能
{% endhint %}

ユーザーは UI の設定メニューでこの設定を変更できます。ポリシーで設定した場合、ユーザーはそれ以上変更できません。

既定のログレベルは `info`.

**ポリシー名:** `ログレベル`

![](/files/c7e326ed8b4e6b17117a35afff9096598cdc84cd)

<table><thead><tr><th width="232.33333333333331"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>オプション</strong></td><td><strong>値</strong></td><td><strong>動作</strong></td></tr><tr><td>ログを記録しない</td><td>0</td><td>ログを記録しない</td></tr><tr><td>エラー</td><td>1</td><td>エラーレコードのみが保存されます</td></tr><tr><td>Info（既定）</td><td>2</td><td>情報とエラーレコードが保存されます</td></tr><tr><td>デバッグ</td><td>3</td><td>すべてのログレコードが保存されます</td></tr></tbody></table>

### **このポリシーを適用する方法はいくつかあります**

1. GPO 経由については、次を参照してください [GPO での設定](/ja/configuration/management-options/settings-via-gpo.md)
2. Intune 経由でポリシーをプッシュする方法については、次を参照してください [Intune 管理対象デバイスの設定](/ja/configuration/management-options/setting-for-intune-managed-devices-1.md)
3. レジストリにキーを追加することで手動で

### レジストリでの手動設定

{% hint style="info" %}
GPO または Intune 管理を使用する場合、これは必要ありません
{% endhint %}

* **値名:** `LogLevel`
* **値の種類:** `REG_DWORD`
* **値データ:** `0, 1, 2 または 3` （上の表を参照）
* **保存先:**
  * `HKEY_CURRENT_USER\SOFTWARE\Policies\glueckkanja\Konnekt`\
    または
  * `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\glueckkanja\Konnekt`

## ログローテーション

{% hint style="warning" %}
サポートチームから依頼がない限り、この設定は使用しないでください。
{% endhint %}

ログローテーション設定は、1 つのログファイルの最大サイズを決定します。 **既定値** は 1 MB（1024 \* 1024 = 1.048.576 ビット）であり、6 個すべてのログファイルの最大合計サイズは 6 MB になります。

* **値名:** `LogRotation`
* **値の種類:** `REG_DWORD`
* **値データ:** 最大ファイルサイズ; 単位はビットです
* **保存先:**
  * `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/ja/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.
