RE: chainsaw with DBReceiver

2006-09-08 Thread Scott Deboy
You need to change this line: To this: Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 11:46 AM To: Log4J Users List Subject: RE: chainsaw with DBReceiver Ok, silly me. I was using the sid, not the service name. H

RE: chainsaw with DBReceiver

2006-09-08 Thread karen . e . greene
Ok, silly me. I was using the sid, not the service name. However, now I'm getting a table or view does not exist error. I displayed the xml file through IE and cut and paste the sql toad. Executed fine. Guess next step, I will create a little test script that uses jdbc to execute the query

RE: chainsaw with DBReceiver

2006-09-08 Thread Scott Deboy
You can't use dbreceiver - you are defining the configuration options for CustomSQLDBReceiver. Until you change that, it won't work. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax: 503.222.0185 [EMA

RE: chainsaw with DBReceiver

2006-09-08 Thread karen . e . greene
Thanks. Got farther this time. The sql works in Toad now. However, I get an error saying that there is no listener for brewutcp. However, I can tnsping this sid and connect to this sid via toad. Any ideas? I was using the webstart version, but changed to the stand alone. The refreshMills

RE: chainsaw with DBReceiver

2006-09-08 Thread Scott Deboy
I didn't notice that you've specified the wrong receiver class. There is a DBReceiver, which supports a pre-defined schema (to be used with the log4j 1.3 DBAppender). You're using CustomSQLDBReceiver, so modify the receiver class to org.apache.log4j.db.CustomSQLDBReceiver. I've made that chan

Re: DailyRollingFileAppender failing

2006-09-08 Thread James Stauffer
Permissions, disk space, etc. Under the same login can you do the rename? On 9/8/06, Thomas Muller <[EMAIL PROTECTED]> wrote: Hi, Out of the blue, a lot of our applications fail to roll logs at midnight. OS: Win2003 Server Log4j version 1.2.13 Se config file attached. 08 Sep 2006 00:00:04,

DailyRollingFileAppender failing

2006-09-08 Thread Thomas Muller
Hi, Out of the blue, a lot of our applications fail to roll logs at midnight. OS: Win2003 Server Log4j version 1.2.13 Se config file attached. 08 Sep 2006 00:00:04,225 [hread-12] log4j:ERROR Failed to rename [E:\BaseCamp\Production\MBX\Gateway/log/tic-session.log] to [E:\BaseCamp\Production\

RE: chainsaw with DBReceiver

2006-09-08 Thread karen . e . greene
Scott, Thanks so much for taking time to help me. I really appreciate it. I made the modifications you suggested, but still no luck. Forgive me for asked what seems like a silly question; however level and file are key words in oracle, and putting the below sql in toad and executing it

Re: LogFilePatternReceiver not parsing the way one might expect

2006-09-08 Thread C. Benson Manica
On Thu, Sep 07, 2006 at 10:12:39PM -0700, Scott Deboy wrote: > Do you have control over the file format? I do... > Can you hard-code spaces to the left and right of the (possibly non-existent) > NDC? For example: ...and I can, so I will. It does solve the problem, so thank you. > DEBUG: [200

Re: ThreadLocal and MDC

2006-09-08 Thread Meera Mehta
Thanks James, It works. Regards, --- James Stauffer <[EMAIL PROTECTED]> wrote: > log4j doesn't clean up olf values in the MDC. It is > up to you to > clean up the old values. i.e. If you are in a > servlet container than > reset all MDC values at the beginning of each > request (just to be >