Re: [log4perl-devel] Appender::File and Layout question

2009-02-20 Thread Ronald Fischer
On Thu, 19 Feb 2009 21:13 -0800, "Mike Schilli" wrote: > Actually, just for the record, you can set an appender's layout: > > $appender->layout($layout); # perldoc Log::Log4perl::Appender I tried the following code: $nl = Log::Log4perl::Appender::File->new( filename

Re: [log4perl-devel] Appender::File and Layout question

2009-02-20 Thread Ronald Fischer
> What you think is a 'logger' is really an appender in Log4perl lingo. An > appender has no concept of a level like 'debug', only loggers do. I see, and that's why it also can't understand about layouts. > The reason why you get the error message 'on an undefined value' is an > internal autoload

Re: [log4perl-devel] Appender::File and Layout question

2009-02-20 Thread Mike Schilli
On Fri, 20 Feb 2009, Ronald Fischer wrote: > I tried the following code: >$nl = > Log::Log4perl::Appender::File->new( >filename => $logname, >mode => 'clobber', >utf8 => 1, >create_at_logtime => 1 > ); >$nl->layout(

Re: [log4perl-devel] Intermittent problems when using signal to reread log configuration

2009-02-20 Thread Robert Jacobson
Mike Schilli m-at-perlmeister.com |log4perl_sourceforge| wrote: > Hmm, that's peculiar. I wonder what kind of config change would cause > this. Are you removing an appender by any chance? Nope, usually I'm only changing the log level. But I can reproduce the error without changing anything in the