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 | 'ALL' |
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. When there is no specific logger for this DOMAIN (logger with the exact name of the DOMAIN) the default logger is being used, with the name of this dispatcher.
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, ] , ...;