Re: [log4perl-devel] avoiding logging to parent appender

2008-07-24 Thread Jonathan Swartz
Damn, should have checked the FAQ. Thanks! Jon On Jul 23, 2008, at 9:40 AM, Mike Schilli wrote: > On Wed, 23 Jul 2008, Jonathan Swartz wrote: > >> I want to have two log files: >> * main.log, which gets all INFO and above messages in the system >> * session.log, which gets all DEBUG and above me

Re: [log4perl-devel] avoiding logging to parent appender

2008-07-23 Thread Mike Schilli
On Wed, 23 Jul 2008, Jonathan Swartz wrote: > I want to have two log files: > * main.log, which gets all INFO and above messages in the system > * session.log, which gets all DEBUG and above messages in the Your two loggers are within the same hierarchy, so you need to put in a threshold/additivi

[log4perl-devel] avoiding logging to parent appender

2008-07-23 Thread Jonathan Swartz
I want to have two log files: * main.log, which gets all INFO and above messages in the system * session.log, which gets all DEBUG and above messages in the My.Session package Here's what I tried: log_dir = /Users/swartz/perl/log4perl/dup log_layout = %d{dd/MMM/:HH:mm:ss.SS} [%p] %c