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 39901] - Log4j Configurator Task
Date Fri, 07 Jul 2006 16:20:25 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=39901>.
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=39901





------- Additional Comments From stevel@apache.org  2006-07-07 16:20 -------
Jan, this is different, this is setting up log4j so that you dont get told off
for not having log4j configured. 

the underlying problem is that log4j tells you off for not having log4j
configured, when in reality the unconfigured state is probably the most popular
configuration of the tool. I hear rumors it be fixed eventually.

this task assumes, however, that log4j is on ant's classpath. if you load
xdoclet with log4j only cropping up there, this task fails horribly.

Also, note how the task will always set to level=0 because the config happens in
the constructor, before the setter is called. something like this should be done
in the executor method, and it should use reflection and fail properly if log4j
is not found. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message