Have you tried reading the Log::Log4perl documentation? The qw operator is documented in perlop: qw. Importing from modules is documented in perlfunc: use.
Hi afoken, I am not the OP, I was trying to engage the OP and inspire a lightbulb moment ... works better when the OP is around :)
Anyway, changing configuration at runtime is not how you're supposed to work it :)
use Log::Log4perl qw/ get_logger /; ... get_logger("Winmail")->info("yay!"); ... get_logger("Failmail")->info("boo!"); ... get_logger("Bobmail")->info("get to work!");
In reply to Re^3: Change email config for Log::Dispatch::Email::MailSender ( log4perl email dynamic subject)
by Anonymous Monk
in thread Change email config for Log::Dispatch::Email::MailSender
by tonytronics
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |