Surely though you are only sending the string representation if you actually
make your message a string? You can send any object you like as the message,
e.g. cat.warn(new Integer()) or whatever. You then use the ObjectRenderers
to convert this to a string representation. I could easily see you sending
your own object and writing a renderer to convert this to a string....

sam
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 9:22 PM
Subject: RE: Design: How to do the following with Log4j


>
> Yes I have looked into those..however, it appears that when I want to log
> to a remote server, I will be sending the string representation down the
> wire, which I'd have to then parse into an object on the log server so I
> can access the individual fields. It would be much more useful to send the
> object down the wire so we can then work on the message object whether it
> was local or remote.
>
> - Tim
>



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

Reply via email to