$self->log_config(
LOG_DISPATCH_MODULES => [
{ module => 'Log::Dispatch::File',
name => 'debugging',
mode => 'append',
filename => '/path/to/logdir/debug.log',
min_level => 'debug',
max_level => 'debug',
},
{ module => 'Log::Dispatch::File',
name => 'messages',
mode => 'append',
filename => '/path/to/logdir/messages.log',
min_level => 'info',
max_level => 'alert',
},
{ module => 'Log::Dispatch::Email::MailSend',
name => 'email',
to => 'suppressed',
subject => 'WebApp Critical Error',
min_level => 'emerg',
}
],
APPEND_NEWLINE => 1,
);
- Jason
ademmler wrote:
hi!
How do I activate a continous logging in CAP::Log::Dispatch.
Actually the log gets deleted/restarted when I enter a runmode.
I would like to have a on going logfile?
Ideas?
Regards Alex
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.