fractal3000 opened a new issue, #1674:
URL: https://github.com/apache/logging-log4j2/issues/1674
Hi, dear Log4j authors!
Please, could you explain, how to configure Syslog appender that is able to
write stack trace message in "message" part of RFC5424 format?
Documenation doesn't give any comrehensive example.
We couldn't find any working example.
We use 2.20.0 version of log4j2 library.
We tried to use this configuration for appender
<Syslog name="syslog" format="RFC5424" host="<some IP>" port="514"
protocol="UDP" newLine="true" includeMDC="true">
<LoggerFields>
<KeyValuePair key="thread" value="%t"/>
<KeyValuePair key="priority" value="%p"/>
<KeyValuePair key="category" value="%c"/>
<KeyValuePair key="exception" value="%ex{full}"/>
</LoggerFields>
</Syslog>
Is it possible that it is a bug or it is an our mistake?
Thanks in advance, Pavel.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]