Mike Schilli wrote:
> On Fri, 9 Nov 2007, Jonathan Swartz wrote:
>
>> My main worry is number of open file handles. Especially with
>> mod_perl, since a lot of those handles will be opened individually in
>> the child processes. Any idea what kind of limits on
>> number of open handles I can expec
On Fri, 9 Nov 2007, Jonathan Swartz wrote:
> My main worry is number of open file handles. Especially with
> mod_perl, since a lot of those handles will be opened individually in
> the child processes. At the same time, I don't want to have to open
> and close each handle every time. Any idea what
> So you want a custom appender that dynamically changes the file it's
> writing to. Since the appender's log() function gets
> 'log4p_category' in
> its %param hash, this should be straight-forward to implement.
>
> Sounds like an interesting idea, I'm looking forward to it!
>
Heh, no doubt. :)
On Tue, 6 Nov 2007, Jonathan Swartz wrote:
> >> 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?
> >
> > Categories are added at init() time, not
> On Mon, 5 Nov 2007, Jonathan Swartz wrote:
>
>> 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?
>
> Categories are added at init() time, not at log
On Mon, 5 Nov 2007, Jonathan Swartz wrote:
> 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?
Categories are added at init() time, not at log() time.
> 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 cate
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 se
From: Jonathan Swartz <[EMAIL PROTECTED]>
To: log4perl-devel@lists.sourceforge.net
Subject: appender/dispatcher that writes to per-category files
Date: Thu, 1 Nov 2007 17:00:36 -0700
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