All,
I am using Log4j-Version 1.2.8, java version 1.4.2_13.
The application simply stops writing logs after sometime.
I saw a similar thread on the forum:
http://www.nabble.com/Log4j-Version---1.2.8-occasionally-stops-logging-without-any-error-message-to19580787.html#a19655737
Sorry if i am asking the same question again but this thrread wasn't
concluded.
Is this is known bug/issue and is upgrade the only option available?
log4j.properties reads as follows:
log4j.appender.jpeAppender.file=/logs/gsp2/btadminbulkload.log
#-Non Configurable Variables --
log4j.rootCategory=DEBUG,jpeAppender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=<%d{dd MMM
HH:mm:ss.SSS}>[%t] [%-5p] - %m%n
log4j.appender.jpeAppender=org.apache.log4j.RollingFileAppender
log4j.appender.jpeAppender.ImmediateFlush=true
# number of log files to keep before deleting the oldest one
log4j.appender.jpeAppender.MaxBackupIndex=5
log4j.appender.jpeAppender.MaxFileSize=1KB
# Log message layout: date-time [thread] priority category - message
lineTerminator
log4j.appender.jpeAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.jpeAppender.layout.ConversionPattern=<%d{dd MMM
HH:mm:ss.SSS}>[%t] [%-5p] [%c] - %m%n
#log4j.rootLogger=ERROR
# Package level log specifications
# Log levels used by Log4j in ascending order are:
# debug, info, warn, error, and fatal
log4j.logger.org.apache=WARN, jpeAppender
log4j.logger.org.objectweb=WARN, jpeAppender
log4j.logger.org.enhydra=WARN, jpeAppender
log4j.logger.org.omg=WARN, jpeAppender
log4j.logger.org.springframework=WARN, jpeAppender
log4j.logger.org.displaytag=WARN, jpeAppender
log4j.logger.com.bt=DEBUG, jpeAppender
# Enables or Disables logging operations
log.debug.enabled=true
log.info.enabled=true
log.warn.enabled=true
log.error.enabled=true
log.fatal.enabled=true
log.timing.enabled=true
# Enables or Disables logging of stack trace
log.stacktrace.enabled=false
# Enables or Disables logging of stack trace in case of exception
log.exception.stacktrace.enabled=true
# Logger class
#log.logger.class=org.apache.log4j.Logger
Thanks for your time and help!
Regards,
Sangeeta
--
View this message in context:
http://www.nabble.com/Log4j-stops-logging-tp19956418p19956418.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]