Skip to main content

Logback custom converters

Atoti provides three Logback converters you can register in your logback.xml to enrich log patterns with server-specific context. The example below registers all three converters and uses %thread and %user in an appender pattern.

Blocked-thread watchdog

The blocked-thread watchdog is an opt-in component that periodically scans for blocked JVM threads. When it detects a change in the blocked-thread count, it logs a summary on the atoti.server.monitoring.health logger and writes a full thread dump on the atoti.server.monitoring.health.blocked-thread logger. The watchdog is disabled by default because a full thread dump is verbose. Enable it only when you need to diagnose lock contention.

Loggers per modules

Check the logger documentation of the component you want to monitor:

Composer loggers (Atoti Technical Modules)

There are loggers available in the Atoti generic technical modules. They are used in a lot of places in Atoti Server. Here is the exhaustive list of the loggers available in the Atoti Composer: