kEnableJsonStdoutSetting#

Fully qualified name: omni::structuredlog::kEnableJsonStdoutSetting

Defined in omni/structuredlog/StructuredLogSettingsUtils.h

constexpr const char *omni::structuredlog::kEnableJsonStdoutSetting = "/structuredLog/enableJsonStdout"#

The setting path that indicates whether the ‘JSON on stdout’ functionality is enabled or not.

When enabled, this will disable the standard logger’s output to stdout/stderr, enable the log consumer for omni.structuredlog.plugin, and set the structured logging queue size to 32MB. This should only be enabled when absolutely needed since it can affect how standard log messages appear on the console/terminal and how they are consumed. This defaults to false when not running under a CoreAPI service. This defaults to true under a CoreAPI service.