Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara


Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using log4j in linux platform.
i hav placed log4j.jar in the classpath.

while restarting tomcat i got this error.

log4j:WARN No appenders could be found for logger (de.jangroth.MobileMusicSync.TriviaTest).log4j:WARN Please initialize the log4j system properly.

my configuration file in WEB-INF/classes is:

log4j.rootCategory=INFO, dest
#specify the destination file
# Control the maximum log file size
# Archive log files (one backup file here)

#--set layout
log4j.appender.dest.layout.ConversionPattern=%-5p [ %d : Caller - %C : Method - %M ] : %m%n

help me to solve this issue.
Attractive, successful people love this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!