> For the complete documentation index, see [llms.txt](https://documentation.ocsinventory-ng.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ocsinventory-ng.org/administrator-docs/server-setup/configuration/advanced/inventory-logs.md).

# Inventory logs

When sending inventory data to the server, agents also generate I**nventory logs**, based on the configured **log level**.\
These logs help monitor incoming inventories and detect potential issues.

Adjusting the log level can be useful when troubleshooting inventory or communication problems between agents and the server. However, since logs can become quite verbose, it’s recommended to set the log level according to your diagnostic needs.

<figure><img src="https://461838061-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtjrEC8kt8LJiJYFBs5CS%2Fuploads%2F3ab1d1ql3ovhHbYmtrYe%2Fimage_2026-04-22_161013250.png?alt=media&amp;token=19f8fe6c-c6e4-49fb-9ce2-436c9ff23b6a" alt="Inventory logs view"><figcaption><p>Inventory logs view</p></figcaption></figure>

## Viewing Inventory logs

Inventory logs can be accessed from their dedicated page, which displays **all logs for every device**, or directly from an **asset’s detail page** for a filtered view.

* **From the Inventory logs page**: Go to **Inventory** **→ Tools → Inventory logs.**
* **From an asset's detail page**: Open the asset’s details, then click the **file icon** at the top right.\
  You’ll be redirected to a **filtered view** showing only that asset’s logs.

## Configuration

By default, the configured log level is **Error**. To update it, follow these instructions:

{% stepper %}
{% step %}
Navigate to **Configurations** **→ General → General configuration**

The **Agent** tab will be opened by default.
{% endstep %}

{% step %}
On the **Agent** tab, update the value of the **Inventory log level** drop-down.
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}
{% endstepper %}


---

# 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://documentation.ocsinventory-ng.org/administrator-docs/server-setup/configuration/advanced/inventory-logs.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.
