Re: [log4perl-devel] multiple log levels at root

2008-06-08 Thread Mike Schilli
On Tue, 27 May 2008, Craig wrote: > Sorry, I didn't understand the internals of the library. I didn't > think of it as a series of gates. Rather, I thought each logger > category was independent of the others. Reading the docs more > completely, it is obvious that isn't true. (Inheritance wouldn't

Re: [log4perl-devel] multiple log levels at root

2008-05-27 Thread Craig
Sorry it took so long to get back to you. (Was out for a couple of days.) Mike Schilli wrote: > On Thu, 22 May 2008, Craig wrote: > >> Problem is that I need to *always* send info (and "up") messages to the >> file and error (and "up") to stderr regardless of what the root logger >> level is set

Re: [log4perl-devel] multiple log levels at root

2008-05-22 Thread Mike Schilli
On Thu, 22 May 2008, Craig wrote: > Problem is that I need to *always* send info (and "up") messages to the > file and error (and "up") to stderr regardless of what the root logger > level is set to. But, I also need to be able to change the stdout level > on the fly. I don't want to set the defau

[log4perl-devel] multiple log levels at root

2008-05-22 Thread Craig
Hi. I have an app where I want to log the following: stdout: ERROR stderr: ERROR file: INFO Also, I need to be able to change the level for stdout during run-time. I have a simple test script with the following config: $conf = { 'log4perl.logger' => "ERROR, Screen, OutErr