Hello,

I have two servers each running 3 instances of Tomcat 7. We have used Log4j
for logging with syslogappenders
which send log to Logging server in LAN. The setup is logging perfectly no
problems.

We want to improve this set up and would like to have some information to be
attached to each line which will
indicate "from which instance that line has been logged". The log4j.xml is
as follows.

 

the rsyslog conf is as follows



With this each line in log file contains info about from which host this is
being logged but we want additional 
information "from which Instance" also.

Please guide us how we can achieve this.

Thanks and warm regards.

Raja Patil



--
View this message in context: 
http://apache-logging.6191.n7.nabble.com/Tomcat-Cluster-syslog-appender-Instance-Id-in-Log-tp35244.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to