commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30632] New: - print/display the wire log!
Date Thu, 12 Aug 2004 19:33:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30632>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30632

print/display the wire log!

           Summary: print/display the wire log!
           Product: Commons
           Version: 1.2 Final
          Platform: Other
        OS/Version: OS/400
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Logging
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: tgerdes@oldrepnatl.com


I have followd the instructions on how to setup logging in my java class found 
on the web page for HTTPCLIENT for Jakarta Commons.  I am using "simplelog" yet 
nothing appears when I run the class.  I do not know how to print or display 
the contents of the log!  The web page does not give any example code of how to 
display or print the log!  Only, how to set the system properties!  I have set 
them as follows!  How, do I view the log!  Here is how I set the system 
properties in my java class!

  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", "trace");
  System.setProperty
("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "trac
e");

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message