• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why do I get "log4j:WARN No appenders could be found for logger" message on server st  RSS feed

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

When I start my WebLogic 9.2.2 server, I get these error messages:

log4j:WARN No appenders could be found for logger (org.apache.myfaces.webapp.StartupServletContextListener).
log4j:WARN Please initialize the log4j system properly.

But this is odd because I start with this server start option, "-Dlog4j.configuration=/export/third-party/etsbea/application_conf/wls_9.2.2/nps_config_gui_conf/NPSConfigGUILog.properties". I have verified the properties file exists. In fact, here are its contents ...

==========begin properties file================
Log4j configuration file.

log4j.category.NPSPortalLog=DEBUG, A2
! DO NOT want additivity for this category

# Available levels are DEBUG, INFO, WARN, ERROR, FATAL
# A2 is a DailyRollingFileAppender

log4j.appender.A2.layout.ConversionPattern=%-5p %d{ISO8601} - [%C::%M] - %m%n
==========end properties file==================
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!