zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priyanga Gunaratne <priya...@locationlabs.com>
Subject Zookeeper myid not showing up in log4j logs
Date Tue, 23 Dec 2014 22:14:40 GMT
Hi All, 
I am trying to get the server myid to show up in my logs so that I can identify what machine
generated that log entry (we aggregate logs). I added the %X{myid} parameter to the log4j
conversion pattern and it is not showing up, just an empty string where the myid is supposed
to show up. 

Is there anything I need to do besides adding the %X{myid} to the log4j properties? 

Thank you. 
View raw message