>
> But, the application has to
> run in different environments (development, testing, staging,
> production) so we need slightly different configurations under each
> environment.
>
> So, I was looking at having a single log4perl config and then using
> environment-specific config files to alter t
On Thu, May 15, 2008 at 11:01:35PM -0700, Mike Schilli wrote:
>
> You need to call the appender's layout() method to set the layout, other
> than that, the code above looks ok to me at first glance. It's fairly
> unusual to use Perl code to init Log4perl, most of the time people
> either use easy_
On Tue, 13 May 2008, Bill Moseley wrote:
> I inherited an existing Log4perl configuration, and I think I'm
> missing some key point.
Wow, I had no idea we're so old that you could inherit a log4perl
configuration, but I guess time goes by :).
> The config file starts out:
> log4perl.rootLogger =
I inherited an existing Log4perl configuration, and I think I'm
missing some key point.
The config file starts out:
log4perl.rootLogger = INFO, syslogAppender, screenAppender
>From the examples I've seen and the ::Config docs I thought it should
be "log4perl.logger" not "log4perl.rootLogger".
Y