Revision as of 13:41, January 4, 2024 by Xavier (talk | contribs)
Jump to: navigation, search

WFM Data Aggregator:Log:x-json-log-MaxLogRecordSize

x-json-log

Section: Log
Default Value: "" (empty string)
Valid Values: stdout, stderr, [filename with or without path]
Changes Take Effect: After restart
Introduced: 8.5.220.03

Enables the JSON logging for WFM servers, if not empty.

WFM now supports structured logging to the file containing one-line log records formatted in JSON format. This facilitates easy integration with the centralized log aggregation and viewing systems, like Grafana/Loki.

Important

The log level for structured logging is the same as for logging to a file and is defined by a regular Template loop detected: Template:Optionslink option.

x-json-log

Section: Log
Default Value: "" (empty string)
Valid Values: stdout, stderr, [filename with or without path]
Changes Take Effect: After restart
Introduced: 8.5.220.03

Enables the JSON logging for WFM servers, if not empty.

WFM now supports structured logging to the file containing one-line log records formatted in JSON format. This facilitates easy integration with the centralized log aggregation and viewing systems, like Grafana/Loki.

Important

The log level for structured logging is the same as for logging to a file and is defined by a regular Template loop detected: Template:Optionslink option.


View in ref guide.

Edit this option          Publish this option          Clear draft content


Published Option

x-json-log.MaxLogRecordSize

Default Value: -1
Valid Values: any integer
Changes Take Effect: After restart
Dependencies: Used if x-json-log option is set.
Introduced: 8.5.220.03

Contains the maximum size in bytes for logging records.

The default value is -1 which means unlimited, but that is only if the logging level is "all" or "debug". If the logging level is "trace" or "standard" then the default value is 10000 - that is because Genesys log library does not accept messages larger than 10000 when the logging level is "trace" or "standard".

Draft Option

No draft option


Comments or questions about this documentation? Contact us for support!