Re: stacktrace information logger patch...

2004-12-23 Thread Kevin A. Burton
Jacob Kjome wrote: These are there temporarily and will be removed before Log4j-1.3 get officially released. The only problem is I want to test out my patch in production ;) Whats the ETA for 1.3 btw? Kevin -- Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also se

Re: stacktrace information logger patch...

2004-12-23 Thread Jacob Kjome
At 06:47 PM 12/23/2004 -0800, you wrote: >Kevin A. Burton wrote: > >> This is a quick implementation of a %stacktrace pattern converter to >> create exceptions when a stack trace is logged. >> >Also... when I start it up I get a bunch of internal log4j debug stmts: > >log4j:INFO Returning existing

Re: stacktrace information logger patch...

2004-12-23 Thread Kevin A. Burton
Kevin A. Burton wrote: This is a quick implementation of a %stacktrace pattern converter to create exceptions when a stack trace is logged. Also... when I start it up I get a bunch of internal log4j debug stmts: log4j:INFO Returning existing logger [torque-base] in repository [default]. log4j:INF

stacktrace information logger patch...

2004-12-23 Thread Kevin A. Burton
This is a quick implementation of a %stacktrace pattern converter to create exceptions when a stack trace is logged. I added documentation in PatternLayout right below %throwable. It also supports the {short} operator for just the first line. Anyway... The best documentation is the source. Commen

RE: Strange issue with log4j version 1.2.9

2004-12-23 Thread Jacob Kjome
At 11:41 AM 12/23/2004 -0600, you wrote: > There is no other config file other than logger.xml. >I do write a java file Logger.java to manually configure logger.xml >instead of default. >Nope. I do not need to specify the root logger level if I don't need to > >All these are working, my only issue

RE: Strange issue with log4j version 1.2.9

2004-12-23 Thread Seshachala, Sudhendra B
There is no other config file other than logger.xml. I do write a java file Logger.java to manually configure logger.xml instead of default. Nope. I do not need to specify the root logger level if I don't need to All these are working, my only issue is that it creates an additional RollingFileApp

RE: Receiver Problem??

2004-12-23 Thread Scott Deboy
To see the configuration file Chainsaw is using: Go to the view menu, show application wide preferences General tab automatic configuration URL field -Original Message- From: Seshachala, Sudhendra B [mailto:[EMAIL PROTECTED] Sent: Thu 12/23/2004 9:26 AM To: Log4J Users List Cc:

Re: Strange issue with log4j version 1.2.9

2004-12-23 Thread Jacob Kjome
At 10:27 AM 12/23/2004 -0600, you wrote: The logger.xml <> has has a RollingFileAppender. With file name as c:\application_name-debug.log. But another file called example.log gets generated whenever I run the application eventhough I have not configured for this file anywhere.. Can any one help

RE: Receiver Problem??

2004-12-23 Thread Seshachala, Sudhendra B
I have my application hosted in webstart. My issue is that, the appliation logs messages in two file 1 created on my desktop as example.log 2 created as per the config file.. I am not sure what the issue is here. Can any one help me resolve this issue Sudhendra (Sudhi) Seshachala Office :

RE: Receiver Problem??

2004-12-23 Thread Scott Deboy
I'm sure I caused this once Chainsaw started generating logging events itself. Assuming you're using a 1.2.8 socketappender: Go to the view menu, show application wide preferences On the general tab, set this as the the tab identifier field's value: PROP.log4j.remoteSourceInfo This will route u

RE: Help on MDC/NDC

2004-12-23 Thread Jacob Kjome
At 08:39 AM 12/23/2004 -0500, you wrote: >Ravi, > my configuration file is attached as "log4j.properties". >Looking at your code ThubLogger extends Logger and your >printInfo is logging at some level (warning, error ,etc) that is >defined in Logger that ThubLogger is using. I'm wondering t

RE: Receiver Problem??

2004-12-23 Thread Jacob Kjome
I'm seeing this as well. I happens with the latest update to the Webstart version of chainsaw. Previous to that I saw separate tabs for socketappenders coming from different remote hosts. Currently, my one socket appender is appending to localhost, but there was still used to be a separate t

Strange issue with log4j version 1.2.9

2004-12-23 Thread Seshachala, Sudhendra B
Title: Strange issue with log4j version 1.2.9 The logger.xml <> has has a RollingFileAppender. With file name as c:\application_name-debug.log. But another file called example.log gets generated whenever I run the application eventhough  I have not configured for this file anywhere.. Can a

XML based socket server

2004-12-23 Thread Sluis, Minto van der
Hi all, Originally I intended to use the Log4cxx. However I run into the compatibility issues regarding the wire protocol for the SocketAppender. To get it working all I need is a XML based socket server. But I will get to that later. On my current project we want to have multiple windows clie

RE: Help on MDC/NDC

2004-12-23 Thread Norma Spence
Ravi, my configuration file is attached as "log4j.properties". Looking at your code ThubLogger extends Logger and your printInfo is logging at some level (warning, error ,etc) that is defined in Logger that ThubLogger is using. I'm wondering that has something to do with it? Also at

RE: Help on MDC/NDC

2004-12-23 Thread Ravishankar, Narayanan Nair
Can one help me please with a sample config file ? Eventhough I have used %x in the pattern, I am not getting desired output. Qall logs are again messed up, pls help. Thanks and regards, Ravi -Original Message- From: Ravishankar, Narayanan Nair Sent: Thursday, December 23, 2004 11:21 AM

RE: Receiver Problem??

2004-12-23 Thread Shai Simchi
Hi Scott ! I am using xml as my configuration file and turning the location infro helped me too. the thing is all incoming messages are going into the same tab - "chainsaw-log" is there a way to control the tabs - i am using 2 SocketAppender and each one is directed to a different port and i need

Re: Custom subject with SMTPAppender?

2004-12-23 Thread Ceki Gülcü
At 04:44 AM 12/23/2004, Kevin A. Burton wrote: How about this... if the %throwable isn't defined we generate one? Is that a bad overloading of the %throwable behavior you think? You do not need to override %throwable. Just define a new conversion word, say %stackTrace, possibly with options. Th