Has anyone added the Devtest logging to push to a remote Syslog server?
I tried adding the Log4J SyslogAppender properties to the logging.properties file however I do not see that to be working.
log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppenderlog4j.appender.SYSLOG.threshold=INFOlog4j.appender.SYSLOG.syslogHost=<hostname>log4j.appender.SYSLOG.syslogPort=<hostport>log4j.appender.SYSLOG.facility=LOCAL1log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayoutlog4j.appender.SYSLOG.layout.conversionPattern=[%p] %c:%L - %m%n
Is there any other property which needs to be update for Devtest to start using these properties?
Do you want to write logging information to syslog from almost all the DevTest components?It seems that the appender name "SYSLOG" is not used from DevTest components.Please try to use "A1" on behalf of "SYSLOG", but you need to comment out the 6 "A1" related properties definitions after "log4j.logger.profiler=OFF" definition in logging.properties.But I am not sure that you can realize your requirment for logging from DevTest components.Because using logging.proerties file seems limited by the application(DevTest).
Did Yusuke's suggestion worked?