Skip to main content
Version: 0.16

Console

The console output writes every log and trace entry to standard error. This is convenient when Stalwart runs in a container environment such as Docker, where the container runtime captures stderr directly.

The console output is represented by the Stdout variant of the Tracer object (found in the WebUI under Settings › Telemetry › Tracers). Alongside the common tracer fields (enable, level, lossy, events, eventsPolicy), the variant carries:

  • ansi: whether ANSI escape sequences are used to colour the output. Default false.
  • multiline: whether each entry spans multiple lines. Default false.
  • buffered: whether entries are buffered before being written. Default true.

For example:

{
"@type": "Stdout",
"ansi": true,
"multiline": false,
"buffered": true,
"enable": true,
"level": "trace"
}