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 10:28:36 UTC

where did my logfile go?

Guys i have this property file for log4j.
Using resin as my logfile crm-app.log can be found in the main Resin folder. however, using tomcat, i don't where did
it put my logfile. i hope anyone could help me...

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