You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make whitespace trimming in log messages optional (#506)
The Log Cache Syslog server trims leading and trailing whitespace in the
messages. The log messages should be not changed.
This change:
- adds config parameter to define if the whitespace in the log messages
should be trimmed or not
- trims or leaves the log message untouched based on the config
parameter
The default behavior is to trim the log messages, so that it is
compatible with the behavior up until now.
constmessageWithWhitespace=`174 <14>1 1970-01-01T00:00:00.012345+00:00 test-hostname test-app-id [APP/2] - [tags@47450 key="value" source_type="actual-source-type"] just a test with with whitespace `+"\n"
0 commit comments