Log4j stops logging

2008-10-13 Thread Sangeeta Bhatia

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]



Chainsaw VFSLogFilePatternReceiver http tailing

2008-10-13 Thread Chitnis, Pooja
Hi,

 

As per the following link I was expecting that the tailing would work
for HTTP file if I use VFSLogFilePatternReceiver.

 

http://marc.info/?l=log4j-user&m=110986318119326&w=2

 

But it's not the case. I need to refresh the receiver then only the
latest log events can be seen.

Is this not yet fixed for VFS or it's in process?

 

Thanks & Regards,

Pooja Chitnis

 



VFSLogFilePatternRaceiver using HTTP protocol to view log files

2008-10-13 Thread Chitnis, Pooja
Hi,

 

I am trying to use the VFSLogFilePatternRaceiver to view the remote log
file using the HTTP protocol

Following is the receiver config 

 



 

  

  

 

 

  

   

 

Chainsaw don't show me any tab for this receiver. There are no errors
except for the following messages:

 
1. attempting to load file 
 

 


2. Using "C:\DOCUME~1\\LOCALS~1\Temp\vfs_cache" as temporary files
store

 

3. file not available - will try again in 10 seconds
 

 

I have included all required jars under Docume~1/user/.chainsaw/plugins
directory. 

commons-httpclient-3.1.jar

commons-logging-1.1.1.jar

commons-logging-1.1.1-javadoc.jar

commons-logging-1.1.1-sources.jar

commons-logging-adapters-1.1.1.jar

commons-logging-api-1.1.1.jar

commons-logging-tests.jar

commons-vfs-20070823.jar

jakarta-oro-2.0.6.jar

log4j-chainsaw-vfs.jar

 

And also have ticked the "Ok to Remove SecurityManager".

 

Any idea what is the reason Chainsaw couldn't locate the file? Am I
missing something?

Why is it looking for a temporary file store ?

 

Thanks & Regards,

Pooja Chitnis

 

 

Thanks & Regards,

Pooja Chitnis