You could use NDC or MDC for this instead of the message text.
I even think someone has extended SocketServer to put this in automatically!

/max

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 10:40 AM
Subject: Users and / or IP addresses.


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


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

Reply via email to