Re: JDBCAppender configuration

2008-07-15 Thread Johannes Hoechstaedter
Thorbjørn Ravn Andersen schrieb: Johannes Hoechstaedter skrev den 15-07-2008 16:20: Hi everybody, I am up to build a coocon webapplication, and I am using the JDBCAppender for logging. It works quite well. My only problem is, that when I switch on the loggin in debug mode, my application is

Re: JDBCAppender configuration

2008-07-15 Thread Johannes Hoechstaedter
Michael Erskine schrieb: The JDBCAppender is shoddy anyhow - write yourself a replacement. It's a great way to learn about what makes a good Appender. To follow up: what I tend to do is have a custom JDBC Appender that adds a small custom log entry object (with all interesting info from t

Missing log entries with DailyRollingFileAppender

2008-07-15 Thread praveen#123
Hello everyone, I have a problem when using the RollingFileAppender: It seems that not all log statements get written to the file. I noticed this, because if I follow the execution of my program (it's multithreaded jms and per sec 2 messages are processing ) and compare it with the log some lo

Re: JDBCAppender configuration

2008-07-15 Thread Thorbjørn Ravn Andersen
Johannes Hoechstaedter skrev den 15-07-2008 16:20: Hi everybody, I am up to build a coocon webapplication, and I am using the JDBCAppender for logging. It works quite well. My only problem is, that when I switch on the loggin in debug mode, my application is as fast as a snail because of the

RE: JDBCAppender configuration

2008-07-15 Thread Michael Erskine
> The JDBCAppender is shoddy anyhow - write yourself a replacement. It's a > great way to learn about what makes a good Appender. To follow up: what I tend to do is have a custom JDBC Appender that adds a small custom log entry object (with all interesting info from the LoggingEvent) to a limit

RE: JDBCAppender configuration

2008-07-15 Thread Michael Erskine
Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] wrote > I am up to build a coocon webapplication, and I am using the > JDBCAppender for logging. It works quite well. My only problem is, that > when I switch on the loggin in debug mode, my application is as fast as > a snail because of the heavy da

JDBCAppender configuration

2008-07-15 Thread Johannes Hoechstaedter
Hi everybody, I am up to build a coocon webapplication, and I am using the JDBCAppender for logging. It works quite well. My only problem is, that when I switch on the loggin in debug mode, my application is as fast as a snail because of the heavy database traffic. How can I solve that? I nee

Logging - NDC, MDC, PROPERTIES, EXCEPTION

2008-07-15 Thread Duseja, Sushil
Hello, Can anyone please let me know as to how can I retrieve - NDC, MDC, PROPERTIES, EXCEPTION - values from the LoggingEvent object? Do I need to set any additional parameter (apart from locationInfo) in the log4j.xml for this? Any help is appreciated. Thanks.