log4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4j system properly.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vijendra_Singh
Posted On:   Monday, December 4, 2006 07:13 AM

log4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4j system properly. No jspwiki.propertyfile defined for this context, using default from /WEB-INF/jspwiki.properties I don't know why is this happening. In case i use DailyRollingFileAppender i am getting all data with this exception. But i can display the logs (what i require) using ConsoleAppender. About Log4j.properties file i haven't used any. But in my jboss app server i used log4j.xml which is properly configured.Which is working well in production server. But the same xml when i used here i am getting files but with this exception.and no specific logs generated. what can be the problem.    More>>

log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
No jspwiki.propertyfile defined for this context, using default from /WEB-INF/jspwiki.properties


I don't know why is this happening.
In case i use DailyRollingFileAppender i am getting all data with this exception.
But i can display the logs (what i require) using ConsoleAppender.
About Log4j.properties file i haven't used any.
But in my jboss app server i used log4j.xml which is properly configured.Which is working well in production server.
But the same xml when i used here i am getting files but with this exception.and no specific logs generated.

what can be the problem.

Please tell me.
thanks
vijendra

   <<Less

Re: log4j:WARN No appenders could be found for logger

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, December 10, 2006 05:16 PM

the error message probably also contains the name of the logger that is complaining; it is probably named after a package.class, and you probably should add a mention of that package, or at least its ancestor, to your log4j config file.
About | Sitemap | Contact