New log message formatter.

Created on 24 October 2023, 11 months ago

I use this module in combination with docker and Splunk and the multi-line logs are not collected correctly.

The problem lies in the fact that messages that contain stacktrace contain /n/r in them and the log driver (https://docs.docker.com/config/containers/logging/splunk/) breaks them up.

Attached is a small patch that introduces new formatting to make the log system work properly with systems that poorly tolerate the newline (/n)

I have no idea if this is a widespread problem or just a problem for splunk ... I leave it to the maintainers to evaluate.

Feature request
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇮🇹Italy uccio Turin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024