# Diagnostic logs

Diagnostic logs are **information about the application's operation automatically recorded** — e.g. performed process steps, system messages, errors, or response time.

Logs are used to analyze problems (e.g. why a given request ended in an error), monitor the correctness of business process execution, and support IT teams in quickly finding the causes of errors and incidents. They help ensure the stability and security of the application.

#### Logging levels <a href="#logidiagnostyczne-poziomyloggowania" id="logidiagnostyczne-poziomyloggowania"></a>

* **INFO** — standard information about the course of operation,
* **DEBUG** — details for developers; usually disabled in production so as not to generate excess data.
* **WARN** — warning. The system is working, but something has appeared that may indicate a potential problem.
* **ERROR** — error. The operation failed.

#### Logger in low code <a href="#logidiagnostyczne-loggerwlowcode" id="logidiagnostyczne-loggerwlowcode"></a>

* Logger in the model data's local data source
* Loggers in ScriptCode (scripts, validators, script tasks) - [Logging in ScriptCode](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/logika-biznesowa/scriptcode/logowanie-w-scriptcode) (Logs in unit tests of scripts/validators - [Unit tests of scripts](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/logika-biznesowa/scriptcode/testy-jednostkowe-skryptow))
