# ログファイルの収集

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

## クライアント上で

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

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

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

## RealmJoin ポータルを使用してリモートで

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

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

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

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

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

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

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

複数のユーザーを持つデバイスでは、ドロップダウン セクションで特定のユーザーのログを要求できます。

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


---

# Agent Instructions: 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.
