ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27373] - NPE when running commons listener against log4J1.2.8
Date Fri, 12 Mar 2004 09:03:21 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=27373>.
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=27373

NPE when running commons listener against log4J1.2.8

peter.reilly@corvil.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.6.2
            Version|1.7Alpha (nightly)          |1.6.1



------- Additional Comments From peter.reilly@corvil.com  2004-03-12 09:03 -------
There is a difference between using a -logger and -listener.
The former may use a log file and the latter does not get this set.
The commons logger code assumes that it is passed the log stream in
both cases.
The fix is just to initialize the out and err streams in the commons
logger class.
Updated CommonsLoggingListener.

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


Mime
View raw message