logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject How to always log the host name?
Date Wed, 04 Jul 2007 13:55:49 GMT
How can I configure the log4j logging to add the hostname information into the logging output?
   
  Most naturally would be to find a conversion character for the hostname in the PatternLayout.
But there is none.

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message