logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hani Nabwani <nav....@gmail.com>
Subject Log4j problems after replacing tomcat7 to tomcat8
Date Mon, 26 Oct 2015 06:32:28 GMT
I am running tomcat8, before that i ran tomcat7 with no problems.
After new tomcat8 release i uninstalled tomcat7 and installed tomcat8.
Then the log file of my app is never created, i tried to search (find
command) i get nothing, also i tried to find log4j.properties  file,
also i cant find it.
Where tomcat8 save the log file?
Where tomcat8 save the log4j.properties file.

My log4j. properties file is:
log4j.rootLogger=ERROR, CA, FA
log4j.appender.CA=org.apache.log4j.ConsoleAppender
log4j.appender.CA.Target=System.out
log4j.appender.CA.layout=org.apache.log4j.PatternLayout
log4j.appender.CA.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss}
%-5p %c:%L - %m%n
log4j.appender.FA=org.apache.log4j.RollingFileAppender
log4j.appender.FA.File=${catalina.base}/logs/D12.log
log4j.appender.FA.MaxFileSize=5MB
log4j.appender.FA.MaxBackupIndex=10
log4j.appender.FA.layout=org.apache.log4j.PatternLayout
log4j.appender.FA.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss}]
[%-5p] [%c:%L]: %m%n
log4j.logger.com.datastax.driver.core=ERROR

-- 
Hani.N

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message