> For the complete documentation index, see [llms.txt](https://docs.aamsystems.ru/passoffice/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aamsystems.ru/passoffice/passoffice-guide/admin-guide-doc/administration/service/logi.md).

# Логи

**Настройка логирования**

1. **Серверные логи**:

   * Уровни:
     * **Ошибки** - только ошибки
     * **Информационный** - ошибки и информационные сообщения, например, о запуске фоновой задачи
     * **Отладка** - ошибки, информационные сообщения, а также подробная информация о работе систем
     * **Профилирование** - тайминги выполнения операций
     * **Подробный** - ошибки, информационные сообщения, а также более подробная информация о работе систем

   **2. Клиентские логи**:

   * Доступные уровни:
     * Критические ошибки
     * Ошибки
     * Предупреждения
     * Информационный
     * Отладка

**2.2. Сохранение логов**

<table><thead><tr><th width="156">Тип логов</th><th>Инструкция</th></tr></thead><tbody><tr><td><strong>Серверные</strong></td><td>«Логи» → «Сохранить серверные логи» → Скачать</td></tr><tr><td><strong>Клиентские</strong></td><td>«Логи» → «Сохранить клиентские логи» → Выбрать период →Выбрать оператора → Скачать</td></tr><tr><td><strong>WDM</strong></td><td><p>В файле конфигурации WebDriverManager: <code>WebDrivers\Settings\ApcApplRes\ApcWebDrvManager\ApcWebDrvManager_defaultCfg.ini</code> необходимо в секции [SubSystems] задать:</p><p>ApcWebLogger=TApcWebLogger. Cкачивание доступно, если включены настройки сканирования и задан IP-адрес. При выключенной настройке появится сообщение: «Нет операторов с включенными настройками сканирования». Если в настройках указан адрес - localhost, то при скачивании логов WDM сначала необходимо ввести IP-адрес оператора вручную и появится иконка скачивания логов.</p></td></tr></tbody></table>

Если приложение не запускается, то логи сервера необходимо посмотреть по пути:

```
%APPDATA%\AAM Systems\PassOffice\logs\
```


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.aamsystems.ru/passoffice/passoffice-guide/admin-guide-doc/administration/service/logi.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
