I'm new to this list, so forgive me if my question seems a bit off topic. I'm in the midst of developing an application using commons-httpclient, and I've integrated the following code to include debug level logging:

System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "debug");


With this code in place, I'm receiving the expected debug level messages at the console. However, my question is this....is there any way to redirect this output to a file using some sort of system property (similar to those used above)?? How could this be done??

Regards,
Rob


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



Reply via email to