I had added the hostname as an MDC value at application startup to achieve that.

On 7/4/07, Hans Schwaebli <[EMAIL PROTECTED]> wrote:
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.


--
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to