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 | <undef> | |
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, ] , ...;