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

2009-03-10 Thread Ronald Fischer
On Mon, 09 Mar 2009 12:09 -0700, Mike Schilli m...@perlmeister.com wrote: A, gotcha, I forgot that you have a long-running process and want to switch log files for every request. To do that, you can write your own appender (it's very easy, check

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

2009-03-06 Thread Ronald Fischer
+0100 Subject: Re: [log4perl-devel] Appender::File and Layout question On Mon, 23 Feb 2009 08:34 -0800, Mike Schilli m...@perlmeister.com wrote: The other problem is that I would strongly prefer a solution without l4p configuration file. The reason is that one requirement for our application

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

2009-03-06 Thread Mike Schilli
On Fri, 6 Mar 2009, Ronald Fischer wrote: I understand how to do it in a config file, but I don't see how to do it in my code. Probably it is not possible at all with easy_init (which I would like to continue to use) easy_init() and init() are using the same underlying internal Log4perl API

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

2009-02-19 Thread Mike Schilli
On Thu, 19 Feb 2009, Ronald Fischer wrote: 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. Actually, just for the record, you can set an

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

2009-02-18 Thread Mike Schilli
On Wed, 18 Feb 2009, Ronald of Steiermark wrote: Reason for this probably slightly unusual way of using Log::Log4perl is the following: Hi Ronald, indeed, you're using Log4perl in a very unusual, not to say confusing way. What you think is a 'logger' is really an appender in Log4perl lingo.