Re: [log4perl-devel] setting defaults for appenders

2008-05-15 Thread Mike Schilli
On Tue, 13 May 2008, Jonathan Swartz wrote: > In the meantime, I might try to do this myself by creating my own > Appender subclass: > > # My::Log4perl::Appender::File defaults to my preferred layout > and layout.ConversionPattern > log4perl.appender.file1 = My::Log4perl::Appender::File

Re: [log4perl-devel] setting defaults for appenders

2008-05-13 Thread Jonathan Swartz
> On Fri, 9 May 2008, Jonathan Swartz wrote: > >> I've got a growing number of log files for different categories >> that I >> would like to all have the same layout and pattern, e.g. > > Hi Jonathan, > > this is one of the items on my todo-list: To have an inheritance > mechanism that lets you s

Re: [log4perl-devel] setting defaults for appenders

2008-05-13 Thread Bill Moseley
On Mon, May 12, 2008 at 02:21:23PM -0700, Jonathan Swartz wrote: > I've got a growing number of log files for different categories that I > would like to all have the same layout and pattern, e.g. You can use "Variable Substitution" as described in the man page, but that still seems awkward. -

Re: [log4perl-devel] setting defaults for appenders

2008-05-13 Thread Bill Moseley
On Mon, May 12, 2008 at 02:21:23PM -0700, Jonathan Swartz wrote: > I've got a growing number of log files for different categories that I > would like to all have the same layout and pattern, e.g. You can use "Variable Substitution" as described in the man page, but that still seems awkward. -

Re: [log4perl-devel] setting defaults for appenders

2008-05-12 Thread Mike Schilli
On Fri, 9 May 2008, Jonathan Swartz wrote: > I've got a growing number of log files for different categories that I > would like to all have the same layout and pattern, e.g. Hi Jonathan, this is one of the items on my todo-list: To have an inheritance mechanism that lets you say something like

[log4perl-devel] setting defaults for appenders

2008-05-12 Thread Jonathan Swartz
I've got a growing number of log files for different categories that I would like to all have the same layout and pattern, e.g. log4perl.appender.file1= Log::Log4perl::Appender::File log4perl.appender.file1.filename = /path/to/ logfile/1

[log4perl-devel] setting defaults for appenders

2008-05-12 Thread Jonathan Swartz
I've got a growing number of log files for different categories that I would like to all have the same layout and pattern, e.g. log4perl.appender.file1= Log::Log4perl::Appender::File log4perl.appender.file1.filename = /path/to/ logfile/1