# ERP Bridge Agent Logs

The ERPBridge agent logs are essential for troubleshooting and monitoring the performance of the ERPBridge service. Depending on your Windows Server version and the configuration of the service, these logs can be found in different locations. Below are the potential directories where you can locate these logs:

1. **If the ERP Bridge service is running on Local System:**

   * Depending on your Windows Server version, the logs can generally be found in:
     * `C:\Windows\Temp\erpbridge\logs`
     * `C:\Windows\SystemTemp\erpbridge\logs`

2. **If the ERP Bridge service is running under a specified user:**

   * If you are using a typical system configuration, the logs can generally be found in:
     * `C:\User\{user}\AppData\Local\Temp\erpbridge\logs`

   **Replace** `{user}` **with the Windows user specified during the agent installation process**

These logs can provide valuable insight into the operation of the ERPBridge service, including errors, warnings, and other informational messages. Regularly checking these logs can help in identifying issues early and ensuring the smooth functioning of the service.

<figure><img src="/files/Vv4MiiJLiyy8BkbOpGBO" alt=""><figcaption></figcaption></figure>

#### Log Maintenance

Currently, the logs are stored on a daily basis and the agent does not automatically delete them. It is recommended to implement a routine for log maintenance to avoid storage issues.


---

# 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.erpbridge.io/troubleshoot/erp-bridge-agent-logs.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.
