Re: reading python logging from chainsaw

2009-08-21 Thread Scott Deboy
If you can post a few lines of the log containing the example text that parses correctly and incorrectly, we can probably help you figure out what needs to be changed. Scott On Fri, Aug 21, 2009 at 3:13 PM, Hari Krishna Dara wrote: > I have been occasionally using chainsaw to analyze log files g

reading python logging from chainsaw

2009-08-21 Thread Hari Krishna Dara
I have been occasionally using chainsaw to analyze log files generated from python. I use the LogFilePatternReceiver with a file:// url and it worked fairly well for the python log format of "%(asctime)s %(name)-12s %(levelname)-8s %(message)s" and chainsaw pattern of "TIMESTAMP LOGGER LEVEL MESSAG

NTEventLogAppender

2009-08-21 Thread Aa Bb
Hello, I am using various appenders in my xml configuration file, i.e. Console, RollingFile, and SocketAppender. My NTEventLogAppender however is not working. Computer Config: Windows XP Service Pack 2 Log4j: log4j-1.2.15 I Did This: C:\windows\system32\NTEventLogAppender.dll I Did This: regsvr32

Re: Help on log4j:WARN No appenders could be found for logger

2009-08-21 Thread Francis ANDRE
You are specifying a distinct implementation class for each logger. That is very atypical. Is that particular class really defined and available on the classpath? Running with -Dlog4j-debug may produce more helpful diagnostics. Do you mean -Dlog4J.debug ??? In which case this debug flag w

Re: Can I add a header to a log file using log4j

2009-08-21 Thread Alexander
Maybe this would give you some ideas http://marc2.theaimsgroup.com/?l=log4j-user&m=102804129921699&w=2 2009/8/21 Gurdeep Singh > Hi All, > > My log file needs a have a single header followed by entries. Is it > possible using log4j. > > -Gurdeep > -- Regards, Alexander

Re: Help on log4j:WARN No appenders could be found for logger

2009-08-21 Thread Curt Arnold
On Aug 21, 2009, at 7:02 AM, Francis ANDRE wrote: lHi I got this well known WARN from log4j but cannot find out what's the problem is. Can someone help solving this issue?? Here the trace for log4j and the initiator.log4j configuration file joined. Thanks in advance. class=

Re: Entering and Exiting Log Methods I.E. java.util.logging.Logger

2009-08-21 Thread v2cg4ss
Thanks for the feedback Curt Arnold-3 wrote: > > There is a bug report for it as an enhancement to the extras > companion. LogMF and LogSF in the extras provides parameterized > logging methods for info, etc. Adding enter and exit methods would be > good enhancement. > > https://issues

Help on log4j:WARN No appenders could be found for logger

2009-08-21 Thread Francis ANDRE
lHi I got this well known WARN from log4j but cannot find out what's the problem is. Can someone help solving this issue?? Here the trace for log4j and the initiator.log4j configuration file joined. Thanks in advance. log4j: Using URL [file:/Z:/isode-8.0/iso.itu.osi/cfg/initiator.log4j] f

Can I add a header to a log file using log4j

2009-08-21 Thread Gurdeep Singh
Hi All, My log file needs a have a single header followed by entries. Is it possible using log4j. -Gurdeep