Garayed.com  

Go Back   Garayed.com > Apache Configurations
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-2008, 06:55 PM
Facade
 
Posts: n/a
Default log4j.properties

Hi - I am deploying a war file to tomcat, and within the war there is
a jar file that uses log4j (via commons-logging). However I keep
getting

log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.


The log4j.properties file is on the root of my jar file, and when I
did a
System.out.println(MyClass.getClass().getClassLoad er().getResource("log4j.properties"))
I can see the file in my Jar file.

Whats wrong? Why can't JCL/Log4J see the same file?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:37 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.