| Author |
log4j
|
MInu
Ranch Hand
Joined: Oct 09, 2003
Posts: 517
|
|
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 log4j.appender.dest=org.apache.log4j.RollingFileAppender log4j.appender.dest.File=C:/logmessages # Control the maximum log file size log4j.appender.dest.MaxFileSize=1MB # Archive log files (one backup file here) log4j.appender.dest.MaxBackupIndex=1 #--set layout log4j.appender.dest.layout=org.apache.log4j.PatternLayout log4j.appender.dest.layout.ConversionPattern=%-5p [ %d : Caller - %C : Method - %M ] : %m%n help me to solve this issue.
|
God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
|
 |
 |
|
|
subject: log4j
|
|
|