yes
-Original Message-
From: N.Swaminathan [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 2:12 PM
To: Log4J Users List
Subject: JDBC Appender in Logger
Hi,
Is it possible to have 2 JDBCAppender in the properties file.
would appreciate your feedback.
Thanks & Regards,
N.Swaminat
You forgot to specify the driver in your config :)
#log4j config file
log4j.rootLogger=debug, R
log4j.appender.R=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.R.Driver=the.DB2.driver
log4j.appender.R.URL=jdbc:db2://localhost/LOG4JDemo
log4j.appender.R.user=default
log4j.appender.R.password
> Hello, I am new to log4j. Can someone provide an example of how to use
> Kevin Steppe's JDBCAppender? Is the class included in log4j-1.2.4.jar?
It is in 1.2.6, don't know about 1.2.4. Doesn't seem to be production
quality yet, though.
--
Eric Jain
--
To
I would recommend using org.apache.log4j.jdbc.JDBCAppender that comes with 1.2. It
should be compatible
with log4j 1.1.3.
Thomas Fenner/Klopotek is no longer supporting that code.
Kevin
Seetharam Sandhya wrote:
> Hi,
> Has anyone used the JDBCAppender add on that is there
> on the site?
>
>
Hi,
I think you have not put the select statement in the file.
put the sentence like this in the *.lcf file.
log4j.appender.A2.layout.ConversionPattern=INSERT INTO CSEAUDITINFO (THREAD,
MESSAGE) VALUES ('%t', '%m')
You are getting error as main because. The logger outputs the first message
it's in: org.apache.log4j.jdbc.JDBCAppender line ~160
The cvs has the correct version.
Kevin
Nate Drake wrote:
>> At 07:56 24.04.2002 -0700, you wrote:
>>
>>> Hello,
>>>
>>> I have used the JDBC Appender in the new log4j1.2-rc1
>>> And i noticed the following:
>>>
>>> 1. It keeps on loggin
>
> At 07:56 24.04.2002 -0700, you wrote:
> >Hello,
> >
> >I have used the JDBC Appender in the new log4j1.2-rc1
> >And i noticed the following:
> >
> >1. It keeps on logging to the console, this causes
> >overload on the system.
> >Here is a sample of what prints on the console:
> >Execute: inse
At 07:56 24.04.2002 -0700, you wrote:
>Hello,
>
>I have used the JDBC Appender in the new log4j1.2-rc1
>And i noticed the following:
>
>1. It keeps on logging to the console, this causes
>overload on the system.
>Here is a sample of what prints on the console:
>Execute: insert into logTable (mes
Umesh,
I think there is going to be an official version of the JDBCAppender in the
next release of 1.2 (which will be an rc release?). You can check it out
now if you access the cvs and get the code.
-Mark
> -Original Message-
> From: Umesh Chhatre [mailto:[EMAIL PROTECTED]]
> Sent: Tu
Personally, I'm using Kevin Steppe's JDBCAppender - it's very simple, just a .java
file to download and compile. You can find it at
http://marc.theaimsgroup.com/?l=log4j-user&m=98106699832259&w=2
Would it be possible to get that JDBC Appender linked to the download page as well?
Here is Mr. Th
yes, it is attached at ROOT, that's why
I am confused.
-Original Message-
From: Johnson, Clay [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 12:28 PM
To: 'LOG4J Users Mailing List'
Subject: RE: JDBC Appender
Could it be a configuration error? That's the
Could it be a configuration error? That's the message you get when you log
an event for a category for which there are no appenders configured. Is the
JDBC appender attached at ROOT?
> -Original Message-
> From: Zohreh Dastgheib-Vojdani [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 0
Oliver,
I'd be interested in seeing the code that implements this -- I'm still
a little vague on how some of the interfaces interact.
I'll first make some comments on your JDBCAppender and at the end I'll
talk a little about how I put mine together.
Question:
What happens to the connection the JD
13 matches
Mail list logo