1Munin::Master::Logger(3U)ser Contributed Perl DocumentatiMounnin::Master::Logger(3)
2
3
4

NAME

6       Munin::Master::Logger - Munin master's old logging routines
7

SYNOPSIS

9       This module contains Munin master's old logging routines while we're
10       switching to Log::Log4perl.  It also sets up Log4perl according to our
11       needs.
12
13       Do not use "logger" when writing new code, use the Log::Log4perl :easy
14       API.  This module takes care of initializing Log::Log4perl at load
15       time.
16

SUBROUTINES

18       logger_open
19           needs to be called once in the main program with one argument: The
20           directory where the munin logs goes.  The running programs name
21           ($0) will be used as the log name (e.g. munin-graph.log).
22
23       logger
24           Do not use.
25
26       logger_level
27           Use to set the programs log level to debug, info, warn, error, or
28           fatal.  This corresponds to the log levels used in syslog, but
29           syslog is not used for logging.
30
31       logger_debug
32           Set up DEBUG logging.  Both STDOUT and the log file will receive
33           DEBUG level output.
34

AUTHOR

36       Munin master logging ported to Log4perl by Nicolai Langfeldt.  Split
37       out into this module by Kjell Magne A~Xierud.
38

LICENSE

40       GPLv2
41
42
43
44perl v5.12.2                      2010-12-05          Munin::Master::Logger(3)
Impressum