Buffering to minimize Disk IO

2007-08-03 Thread david guimbellot
All, We use log4j across a number of services where many servers write to a shared disk. The net impact of the log writes contributes to the total number of physical disk writes that the disk can support. This has become our overall system bottleneck (NOT THE CPU) Has anyone tried tuning t

Re: Changing log filepath and file name at runtime???

2007-08-03 Thread James Stauffer
You many need to use repository selectors so that each instance has its own configureation. Then each instance can have its own config file. On 8/3/07, sateesh <[EMAIL PROTECTED]> wrote: > > Hi James, > > We are running more than one sinatnce of our Service in a separate thread > and we would li

Re: Changing log filepath and file name at runtime???

2007-08-03 Thread Jacob Kjome
Use a web-based Log4j config editing tool such as LogWeb... http://www.codeczar.com/products/logweb/index.html Jake On Fri, 3 Aug 2007 13:32:08 -0700 (PDT) sateesh <[EMAIL PROTECTED]> wrote: Hi James, We are running more than one sinatnce of our Service in a separate thread and we would li

Re: Changing log filepath and file name at runtime???

2007-08-03 Thread sateesh
Hi James, We are running more than one sinatnce of our Service in a separate thread and we would like to have separate log file for each of them which we will specify while initializing it How do we specify it?? We are using SLF4J and Log4J Could u pls let me know.. Thanks Kumar James

Chainsaw CustomDBReceiver -- "EXCEPTION" is reserved keyword in Apache Derby SQL

2007-08-03 Thread Adam Mitchell
Is there a way to remap the column names that CustomDBReceiver expects back from the DB? I'm testing on Apache Derby and, apparently, "EXCEPTION" is a reserved keyword in Derby SQL. But CustomDBReceiver logs an error if that column is missing.

Re: How to stop further processing?

2007-08-03 Thread Daniel Henninger
Awesome, thank you! That is exactly what I was after! I found the full string in another list post so I thought I'd go ahead and post it here in case anyone else runs into this thread: log4j.additivity.=false Daniel On Aug 3, 2007, at 2:42 PM, James Stauffer wrote: Yes. You need to set

Re: How to stop further processing?

2007-08-03 Thread Matthew Kemp
Setting additivity to false should fix your problem. I'm not sure about the properties log4j config, but in log4j.xml it's just an attribute on the logger. On 8/3/07, Daniel Henninger <[EMAIL PROTECTED]> wrote: > > Hi folk! > > I'm trying to switch my project to log4j and am running into an issue

Re: How to stop further processing?

2007-08-03 Thread James Stauffer
Yes. You need to set "additivity" to false for some.class.tree. I am not sure how to do that in a properties file. On 8/3/07, Daniel Henninger <[EMAIL PROTECTED]> wrote: > Hi folk! > > I'm trying to switch my project to log4j and am running into an issue > where... ok here's what I've done (conc

How to stop further processing?

2007-08-03 Thread Daniel Henninger
Hi folk! I'm trying to switch my project to log4j and am running into an issue where... ok here's what I've done (conceptually) log4j.appender.myappender is set to MyAppender log4j.appender.myappender2 is set to MyAppender2 log4j.rootLogger is set to myappender log4j.logger.some.class