Hi,

 I just hacked a fake PrintWriter descendant that sends all the information
"printED" or "printlnED" to a Category and with a Priority passed to the
class constructor.


 I use it for keep in the same log files the information generated by old
legacy .class files that send all the logging information to a PrintWriter.

 I used it as well in the java.sql.DriverManager.setLogWriter()


 Feel free to used if you find it useful.

 Regards
   JD Evora

Attachment: Log4jPrintWriter.java
Description: Binary data

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

Reply via email to