You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Richard Raquepo <rr...@primeorion.com> on 2003/05/21 11:56:01 UTC

logfile missing in tomcat

Guys i have this property file for log4j.
Using resin my logfile crm-app.log can be found at the main Resin folder (i.e. c:\resin...). however, using tomcat, i don't know where did
it put my logfile. i hope anyone could help me... (i already did a find file on my PC but to no avail)

thanks a lot
>>>>>>>>>>>>>>>>>> log44j.properties <<<<<<<<<<<<<<<<<<<<<<<
# Set root category priority to INFO and its only appender to A1.
log4j.rootCategoty=INFO,F1
log4j.category.com.fltic.crm=INFO,A1,F1 
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
# log4j.appender.A1.layout.ConversionPattern=%d %-4r [%t](%F:%L)  %-5p %c %x - %m%n
log4j.appender.A1.layout.ConversionPattern=%d [%t](%F:%L) %-5p %x - %m%n

# F1 is set to be a RollingFileAppender that uses PatternLayout, add F1 to the desired categories to enable file trace
log4j.appender.F1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.F1.layout=org.apache.log4j.PatternLayout
#log4j.appender.F1.layout.ConversionPattern=%p %t %c - %m%n
log4j.appender.F1.layout.ConversionPattern=%m%n
log4j.appender.F1.File=crm-app.log
log4j.appender.F1.DatePattern='.'yyyy-MM-dd-HH
#log4j.appender.F1.MaxFileSize=300KB
#log4j.appender.F1.MaxBackupIndex=5