> 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/toraburushtinguto-faq/troubleshooting/package-installation-issues/collecting-logfiles.md).

# ログファイルの収集

トラブルシューティングに必要なログファイルを簡単に収集する方法

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

## クライアント上

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

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

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F0Ddf7XTntmKTNZeveVpf%2Flogs-debug.png?alt=media&amp;token=873b2eac-8579-4e54-9d62-994066344b84" alt=""><figcaption><p>RealmJoinデバッグウィンドウを使用してクライアント上でログを収集する</p></figcaption></figure>

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

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

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

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

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

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

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F1FYMvPMVIE55vOCfIZc8%2Fimage.png?alt=media&amp;token=80011f86-a639-4f7b-be63-6efb4a9b3597" alt=""><figcaption><p>RealmJoinポータルを使用してログを要求する</p></figcaption></figure>

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

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

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FykJMBkPyggFliu5AZhuN%2F26-03-27-14_54_17_SnippingTool.png?alt=media&amp;token=16dc937e-8019-485c-90f3-95a5b03cc08a" 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 by asking a question.

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

```
GET https://docs.realmjoin.com/ja/toraburushtinguto-faq/troubleshooting/package-installation-issues/collecting-logfiles.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.
