aspose file tools*
The moose likes Java in General and the fly likes log4j:WARN No appenders .. but configfile is in place Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

log4j:WARN No appenders .. but configfile is in place

dirk dj jaeckel
Greenhorn

Joined: May 31, 2012
Posts: 22
Hello,

i copied a project with eclipse where LOG4J is used

the original project OP has a config file in .\settings\configLOG4J.properties as my new project NP has

the OP inititializes LOG4J ( if i understand it right) like that:




if i do similar:



i get the following WARN:

log4j:WARN No appenders could be found for logger (org.apache.mina.core.filterchain.IoFilterEvent).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

the buildpath and settingsfolder are identical, what else i am missing ?

regards
dirk
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13869
    
  10

Please don't post the same question in multiple forums. I'm closing this one; continue in the other one.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j:WARN No appenders .. but configfile is in place
 
Similar Threads
Can't call ejb 3.1 form app client project in jboss 6.0 final
where is the error
log warning messages
Can't find logj4.properties using netbeans, hibernate and glassfish
LOG4J messages in red about missing configuration file which is IN place