You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/02/24 19:06:06 UTC

DO NOT REPLY [Bug 17157] - SimpleFileLog class

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