SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

Munin::Master::Logger

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-08
Index 

NAME

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

SYNOPSIS

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. 

SUBROUTINES

logger_open
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).
logger
Do not use.
logger_level
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.
logger_debug
Set up DEBUG logging. Both STDOUT and the log file will receive DEBUGlevel output.
 

AUTHOR

Munin master logging ported to Log4perl by Nicolai Langfeldt. Splitout into this module by Kjell Magne Oierud. 

LICENSE

GPLv2


 

Index

NAME
SYNOPSIS
SUBROUTINES
AUTHOR
LICENSE

This document was created byman2html,using the manual pages.