I've actually thought about doing this. You would most likely want to extend Writer in some way. The problem is how to decide when to actually log the data written to the Writer, and how should that data be split. The problem is that Writer's base unit of work is the byte, but logging uses Strings. So you run into the dilemma of converting an array of bytes into a String, and determining when to invoke the log on that String. This is all perfectly doable, but you run into a few sticky issues.
Aaron Hoyt ph: 816.218.2951 VML 250 Richards Rd Suite 255 Kansas City, MO 64116 > -----Original Message----- > From: Eugene Kovelman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 1:47 PM > To: [EMAIL PROTECTED] > Subject: Thirdparty logging and log4J > > > i am using TopLink, and it dumps out its own logging messages. > TopLink docs say I need to set a Writer Object to be able to log > somewhere else. Does Log4J provide something like that ? I saw > there is a SyslogWriter, but there is not enough documentation on it ? > > thanks > > > -- > 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]>