Section: User Contributed Perl Documentation (3)
Munin::Master::Logger - Munin master's old logging routines
This module contains Munin master's old logging routines while we'reswitching to Log::Log4perl. It also sets up Log4perl according to ourneeds.
Do not use ``logger'' when writing new code, use theLog::Log4perl :easy API. This module takes care of initializingLog::Log4perl at load time.
- needs to be called once in the main program with one argument: Thedirectory where the munin logs goes. The running programs name ($0)will be used as the log name (e.g. munin-graph.log).
- Do not use.
- Use to set the programs log level to debug, info, warn, error,or fatal. This corresponds to the log levels used in syslog, butsyslog is not used for logging.
- Set up DEBUG logging. Both STDOUT and the log file will receive DEBUGlevel output.
Munin master logging ported to Log4perl by Nicolai Langfeldt. Splitout into this module by Kjell Magne Oierud.
This document was created byman2html,using the manual pages.