logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Users and / or IP addresses.
Date Mon, 26 Aug 2002 09:52:29 GMT

You can use the org.apache.log4j.MDC for recording such information.

At 09:40 26.08.2002 +0100, you wrote:
>Hi there.
>It seems there is know place in the LoggingEvent to place info like the
>user or IP address or anything like that.
>We use Log4J to gather all logging to a SocketServer, so it would be nice
>if we could see one each entry who the user is.
>Right now we add it to the message line, but for use with XML it would be
>great to have a seperat field for that.
>Any ideas?
>Bjarne Soegaard


To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message