This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

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

dirk dj jaeckel

Joined: May 31, 2012
Posts: 23

i copied a project with eclipse where LOG4J is used

the original project OP has a config file in .\settings\ 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 for more info.

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

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14959

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 8 API documentation
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: log4j:WARN No appenders .. but configfile is in place
It's not a secret anymore!