Bjarne, 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? > >Sincerely >Bjarne Soegaard -- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>