logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: How to always log the host name?
Date Thu, 05 Jul 2007 14:11:09 GMT
I had added the hostname as an MDC value at application startup to achieve that.

On 7/4/07, Hans Schwaebli <hans_schwaebli@yahoo.com> wrote:
> How can I configure the log4j logging to add the hostname information into the logging
>   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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message