Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
dirk dj jaeckel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in multiple forums. I'm closing this one; continue in the other one.
 
    Bookmark Topic Watch Topic
  • New Topic