[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

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