Updated on May 26, 2022
Logging
Orchestrate is composed of multiple containers that each generate their own logs that are written to the standard output.
Log Level configuration
Valid log levels on Orchestrate are panic
, fatal
, error
, warn
, info
, debug
, trace
.
The default level is info
. Each container keeps its own log, therefore, LOG_LEVEL
must be set
for each container.
Important
The following flags are present in each container and have to be set independently when configuring containers.
Global Flags:
--log-format string Log formatter (one of ["text" "json"]).
Environment variable: "LOG_FORMAT" (default "text")
--log-level string Log level (one of ["panic" "fatal" "error" "warn" "info" "debug" "trace"]).
Environment variable: "LOG_LEVEL" (default "debug")
-
trace
: Finer-grained informational events thandebug
. -
debug
: Fine-grained informational events that are most useful to debug an application. -
info
: (default) Informational messages that highlight the progress of the application at coarse-grained level. -
warn
: Potentially harmful situations. -
error
: Error events that might still allow the application to continue running. -
fatal
: Severe error events that could lead the application to abort. -
panic
: Severe error events that could lead to fatal errors.