Klogging’s behaviour can be modified by setting certain environment variables in the runtime.
|Minimum level at which Klogging’s internal logger emits log messages. Acceptable values are |
|Minimum level at which log events are sent directly to sinks instead of via coroutine channels. Acceptable values are |
|Absolute path to a JSON or HOCON configuration file.||(none)|
|Absolute path to a JSON configuration file.||(none)|
|Override the output format for a sink. For example, setting ||(none)|
|Buffer capacity of the coroutine channel used for events.||100|
|Buffer capacity of the coroutine channel used for each sink.||100|
|Maximum time in milliseconds between sending batches of events to sinks.||10|
|Maximum batch size of events that are sent to sinks.||100|
|(JVM) Feature flag: if present and ||10|
|(JVM) Number of threads to use in the pool for Klogging coroutines if ||(none)|
KLOGGING_CONFIG_JSON_PATH is deprecated and will be replaced by
KLOGGING_CONFIG_PATH for both
JSON and HOCON configuration files.