Re: Getting started with log4j...

2007-05-22 Thread Wayne Cannon
I'm new to log4j, but had similar problems sporadically. You are configuring log4j programmatically, while I was using a config file. It wasn't finding my config file until I learned that the log4j.xml file needs to be somewhere in the classpath (even if it's just ".") or explicitly reference

Re: Getting started with log4j...

2007-05-22 Thread Redefined Horizons
James, I'll try reading about that. Thanks, Landon On 5/22/07, James Stauffer <[EMAIL PROTECTED]> wrote: I don't see anything wrong but I use automatic XML config so I am not familiar with code config. You may want to try XML config. On 5/22/07, Redefined Horizons <[EMAIL PROTECTED]> wrote:

Re: Getting started with log4j...

2007-05-22 Thread James Stauffer
I don't see anything wrong but I use automatic XML config so I am not familiar with code config. You may want to try XML config. On 5/22/07, Redefined Horizons <[EMAIL PROTECTED]> wrote: I was just about to write some debug code by hand in my Java classes when I remembered reading about log4j.

Getting started with log4j...

2007-05-22 Thread Redefined Horizons
I was just about to write some debug code by hand in my Java classes when I remembered reading about log4j. I checked out the website and it seemed to do exactly what I needed, only better. I have decided to give it a try. However, after reading a couple of the tutorials and the online manual I f

Fwd: problem in connection between log4j and log4cxx

2007-05-22 Thread Morchid Yacir
hello i am using chainsaw to receiv logs from other machines the problems is ; when i try to send logs from a simple application using log4cxx to chainsaw i always get error messages when using a SocketReceiver in chainsaw , i always get this message in the logs Connection lost!

Re: Re[2]: logging from commons.httpclient interferes with application logging

2007-05-22 Thread James Stauffer
Maybe providing some of the lines that go to your mail appender would help. On 5/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >Ursprüngliche Nachricht >Von: [EMAIL PROTECTED] >Datum: 22.05.2007 14:35 >An: "Log4J Users List", "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Betreff: Re: l

Re[2]: logging from commons.httpclient interferes with application logging

2007-05-22 Thread [EMAIL PROTECTED]
>Ursprüngliche Nachricht >Von: [EMAIL PROTECTED] >Datum: 22.05.2007 14:35 >An: "Log4J Users List", "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Betreff: Re: logging from commons.httpclient interferes with application logging > >That looks correct except that I think should be the first >chi

JDBCAppender inserts %d instead of the date in the database

2007-05-22 Thread Mohammed_Amin
Hi All, I am trying to use the log4j.jdbcplus.jdbcappender to log my messages to an oracle database. I am not getting any errors and data is being inserted into the database except that instead of actual logs %c, %d, %p and the like are being inserted. I have tried to use the jdbc.jdbcappender

Re: logging from commons.httpclient interferes with application logging

2007-05-22 Thread James Stauffer
That looks correct except that I think should be the first child of On 5/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I'm using Jakarta Commons HttpClient for simulating test requests to my web application. There I have configured log4j for logging at debug level. But now the ou

logging from commons.httpclient interferes with application logging

2007-05-22 Thread [EMAIL PROTECTED]
Hi all, I'm using Jakarta Commons HttpClient for simulating test requests to my web application. There I have configured log4j for logging at debug level. But now the output from HttpClient wastes my logfile. How can I configure log4j so that the output from a different package is logged to an