How to push DevTest logging to Syslog server

Document ID : KB000115518
Last Modified Date : 20/09/2018
Show Technical Document Details
Introduction:
Sometime, engineers need to push  DevTest logging to Syslog server and this article provide information on that. 
Question:
How to push DevTest logging to Syslog server?
Environment:
Supported DevTest Environments
Answer:
Adding the Log4J SyslogAppender properties to the DevTest logging.properties file should help.

 

log4j.rootCategory=INFO,A1,

log4j.appender.A1=org.apache.log4j.net.SyslogAppender
log4j.appender.A1.threshold=INFO
log4j.appender.A1.syslogHost=<hostname>
log4j.appender.A1.syslogPort=<hostport>
log4j.appender.A1.facility=LOCAL1
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.conversionPattern=[%p] %c:%L - %m%n

Additional Information:
https://communities.ca.com/message/242141161-devtest-logging-to-syslog