> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/sono/troubleshooting/package-installation-issues/collecting-logfiles.md).

# ログファイルの収集

影響を受けたデバイスからログファイルを簡単に収集する主な方法は2つあります。\
ログは、クライアント上で直接取得するか、リモートで次を使用して取得できます [RealmJoin Portal](https://portal.realmjoin.com)。\
どちらの方法でも、同じZIPファイルが生成されます。

## クライアント側で

ログを収集する最も簡単な方法は、組み込みの *Collect Logs* 機能をRealmJoinクライアントで使用することです:

1. 押しながら `CTRL+Shift` を押しつつ、RealmJoinのトレイアイコンをクリックします。
2. 選択します `Show Debug Window` （下から2番目の項目）。
3. RealmJoinのデバッグウィンドウで、 `Collect Logs` ボタンをクリックします。
4. 次の名前のZIPファイル `RealmJoin_Diagnostic.zip` がユーザーのデスクトップに作成されます。
5. このZIPファイルには、インストール失敗のトラブルシューティングに必要なすべての重要なログが含まれています。

<figure><img src="/files/35528ebbb5edbabdd71c7b8e8cadd0c87a38f45f" alt=""><figcaption><p>RealmJoinデバッグウィンドウを使用してクライアント側でログを収集する</p></figcaption></figure>

## RealmJoin Portal を使用してリモートで

ログファイルは、RealmJoin Portal を使用してリモートで要求することもできます。

{% hint style="info" %}
この機能を動作させるには、クライアントがオンラインで、RealmJoinトレイが起動している必要があります。また、ログファイルのダウンロードが利用可能になるまで、次のRealmJoinクライアントの同期サイクルが完了するのを待つ必要があります。通常の同期サイクルは30分で、これが最大待機時間です。

同期は、クライアントから次を実行することで強制できます `このデバイスを同期` をRealmJoinトレイメニューから。
{% endhint %}

1. を開きます [RealmJoin Portal](https://portal.realmjoin.com)
2. 影響を受けたデバイスを検索し、デバイスページを開きます。
3. の `概要` タブで、セクションを探します `Extended Logs`
4. をクリックします `Request Logs` ボタンをクリックします。
5. クライアントがオンラインであれば、最大待機時間は約30分です。ログが利用可能になるまで待ちます。
6. 左側のダウンロードボタンをクリックして `Request Logs` 、ログを含むZIPファイルをダウンロードします。

{% hint style="warning" %}
ログZIPファイルのダウンロードは、要求したアカウントだけでなく、RealmJoin Portal にアクセスできるすべてのユーザーが利用できます。
{% endhint %}

<figure><img src="/files/cff2fc421c1b3ce2a45bdc043a619d389d813158" alt=""><figcaption><p>RealmJoin Portal を使用してログを要求する</p></figcaption></figure>

## AVDおよびMUデバイス上のログファイル

複数ユーザーのいるデバイスでは、プルダウンセクションを使って特定のユーザーのログを要求できます。

<figure><img src="/files/654f2b789d9d163a42db703c3753c74af2d4ac29" alt=""><figcaption></figcaption></figure>


---

# 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:

```
GET https://docs.realmjoin.com/ja/sono/troubleshooting/package-installation-issues/collecting-logfiles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
