> On Sat, 3 Nov 2007, Mike Schilli wrote: > >> I'd like to write simultaneously to a central log file, and to >> a separate log file for each category. e.g. A log to category Foo.Bar >> would go to app.log and Foo.Bar.log. I want to do this automatically >> rather than having to configure each category separately. > > Interesting problem ... do you know ahead of time which categories > you're gonna run into? A script could call all kinds of Log4perl- > enabled > modules at runtime, adding new categories on-the-fly. >
Right, I expected that new categories would keep cropping up. Why would it be a problem for an appender to open new filehandles on the fly? Other than worrying about maximum # of filehandles? Jon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel