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 17157] - SimpleFileLog class
Date Mon, 24 Feb 2003 18:06:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17157>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17157

SimpleFileLog class

garyashley@3mv.biz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Logging                     |Validator
         Resolution|                            |INVALID



------- Additional Comments From garyashley@3mv.biz  2003-02-24 18:06 -------
The SimpleLog class writes to System.err which can point to a file.  Use the 
System.setErr(PrintStream) method to modify this behavior.
See the javadoc:  
http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#err
a good tutorial: http://www.javacoffeebreak.com/java103/java103.html#output

Also, the Log4J Logger has both a FileAppender and RollingFileAppender.  

IMHO, This seems beyond the scope of the Commons Logging API.  I would look to 
Avalon, JDK1.4, or Log4J to supply this functionality.

---------------------------------------------------------------------
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