logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40260] - null pointer exception in pattern layout (in spacePad method)
Date Mon, 15 Jan 2007 17:00:13 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=40260>.
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=40260





------- Additional Comments From r.l.wilson@qmul.ac.uk  2007-01-15 09:00 -------
I managed to get tomcat autoDeploy to work without generating this error but
whether (a) it is the underlying cause of the original posters problem  and/or
(b) there is still something that could be improved in log4j's exception
handling i couldn't say.

Having just upgraded from Tomcat 4 where we were (for historical reasons) using
log4j's PropertyConfigurator in a servlet to load a log4j configuration file
held in our own directory for all our configuration files.  As soon as I renamed
this config file to log4j.properties and put it in the WEB-INF/classes directory
then I could autoDeploy sucessfully, as you might expect.

I appreciate that this is how we are instructed to use log4j, especially in
Tomcat5, but given how the autoDeployment worked before upgrading to tomcat 5 i
was a little surprised that it didnt still work and that the error message was
so obscure

-- 
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message