You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Maha Asad <ma...@yahoo.com> on 2002/04/24 16:56:48 UTC
JDBC Appender
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 (message, class,
priority, log_date) values ('this is loop number: 0',
'MyApp', 'DEBUG', '2002-04-24 17:50:55,520')
Execute: insert into logTable (message, class,
priority, log_date) values ('this is loop number: 0',
'MyApp', 'INFO', '2002-04-24 17:50:55,740')
Execute: insert into logTable (message, class,
priority, log_date) values ('this is loop number: 0',
'MyApp', 'WARN', '2002-04-24 17:50:55,740')
2. The JDBCAppender class does not exsist in the jar
file.
Thank u
Maha
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JDBC Appender
Posted by Kevin Steppe <Ke...@redmind.com>.
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 logging to the console, this causes
>>> overload on the system.
>>> Here is a sample of what prints on the console:
>>> Execute: insert into logTable (message, class,
>>> priority, log_date) values ('this is loop number: 0',
>>> 'MyApp', 'DEBUG', '2002-04-24 17:50:55,520')
>>> Execute: insert into logTable (message, class,
>>> priority, log_date) values ('this is loop number: 0',
>>> 'MyApp', 'INFO', '2002-04-24 17:50:55,740')
>>> Execute: insert into logTable (message, class,
>>> priority, log_date) values ('this is loop number: 0',
>>> 'MyApp', 'WARN', '2002-04-24 17:50:55,740')
>>
>> Thanks for the information. The problem was due to a
>> trailing System.out.println statement that I commented
>> out.
>
>
> What file/line is this println at so that I can change it? Thanks.
>
> n
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: JDBC Appender
Posted by Nate Drake <na...@evoxis.com>.
>
> 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 (message, class,
> >priority, log_date) values ('this is loop number: 0',
> >'MyApp', 'DEBUG', '2002-04-24 17:50:55,520')
> >Execute: insert into logTable (message, class,
> >priority, log_date) values ('this is loop number: 0',
> >'MyApp', 'INFO', '2002-04-24 17:50:55,740')
> >Execute: insert into logTable (message, class,
> >priority, log_date) values ('this is loop number: 0',
> >'MyApp', 'WARN', '2002-04-24 17:50:55,740')
>
> Thanks for the information. The problem was due to a
> trailing System.out.println statement that I commented
> out.
What file/line is this println at so that I can change it? Thanks.
n
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JDBC Appender
Posted by Ceki Gülcü <ce...@qos.ch>.
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 (message, class,
>priority, log_date) values ('this is loop number: 0',
>'MyApp', 'DEBUG', '2002-04-24 17:50:55,520')
>Execute: insert into logTable (message, class,
>priority, log_date) values ('this is loop number: 0',
>'MyApp', 'INFO', '2002-04-24 17:50:55,740')
>Execute: insert into logTable (message, class,
>priority, log_date) values ('this is loop number: 0',
>'MyApp', 'WARN', '2002-04-24 17:50:55,740')
Thanks for the information. The problem was due to a
trailing System.out.println statement that I commented
out.
>2. The JDBCAppender class does not exsist in the jar
>file.
Yes, this is a known problem which was fixed recently.
Thanks, Ceki
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>