The Log::Log4perl infrastructure has all settings in a configuration file. In that file, you should find a category with the NAME.
Option | Defined in | Default |
---|---|---|
accept | Log::Report::Dispatcher |
|
charset | Log::Report::Dispatcher | <undef> |
config | <required> | |
format_reason | Log::Report::Dispatcher | 'LOWERCASE' |
locale | Log::Report::Dispatcher | <system locale> |
mode | Log::Report::Dispatcher | 'NORMAL' |
to_level | [] |
Returns the Log::Log4perl::Logger object which is used for logging.
Returns a level which is understood by Log::Dispatch, based on a translation table. This can be changed with new(to_level).
use Log::Log4perl qw/:levels/; # by default, ALERTs are output as $FATAL dispatcher Log::Log4perl => 'logger' , to_level => [ ALERT => $ERROR, ] , ...;