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
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:
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.
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
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!
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
>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
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
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
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
10 matches
Mail list logo