On Thu, 12 Feb 2009, weizhao6...@gmail.com wrote:
> When I saw "Log4perl: DBI appender failed to reconnect to database
> after 1 attempt at ./tests/testDbCon.pl line 21", I thought it was the
> database connection issue. Maybe it'd nice that the actual DBI error
> was captured.
Yeah, that was a m
Hi there,
Is there a way to use parameters from Log::Log4perl::Layout::PatternLayout,
such as %F, %p, %c, in email subject from Log::Dispatch::Email::MailSender?
Something like:
layout_class = Log::Log4perl::Layout::PatternLayout
layout_pattern = %d %5p %F{1} %L> %m %n
layout_email_pattern =
Hi there,
Got another question: I'd like to enable logging within our home grown module
packages, such as: Mycompany:Modules:A, Mycompany:Modules:B, etc, without
setting a logger in the configuration file for every module.
What's the best way of doing this?
Thanks in advance!
David
On Thu, 12 Feb 2009, David Zhao wrote:
> Got another question: I'd like to enable logging within our home grown
> module packages, such as: Mycompany:Modules:A, Mycompany:Modules:B,
> etc, without setting a logger in the configuration file for every
> module.
If you define a logger like
log
On Thu, 12 Feb 2009, David Zhao wrote:
> Is there a way to use parameters from
> Log::Log4perl::Layout::PatternLayout, such as %F, %p, %c, in email
> subject from Log::Dispatch::Email::MailSender? Something like:
Not easily, you would need to write a custom appender.
-- Mike
Mike Schilli
m...@