debian man page for munin::master::logger

Query: munin::master::logger

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Munin::Master::Logger(3pm)				User Contributed Perl Documentation				Munin::Master::Logger(3pm)

NAME
Munin::Master::Logger - Munin master's old logging routines
SYNOPSIS
This module contains Munin master's old logging routines while we're switching to Log::Log4perl. It also sets up Log4perl according to our needs. Do not use "logger" when writing new code, use the Log::Log4perl :easy API. This module takes care of initializing Log::Log4perl at load time.
SUBROUTINES
logger_open needs to be called once in the main program with one argument: The directory 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, but syslog is not used for logging. logger_debug Set up DEBUG logging. Both STDOUT and the log file will receive DEBUG level output.
AUTHOR
Munin master logging ported to Log4perl by Nicolai Langfeldt. Split out into this module by Kjell Magne A~Xierud.
LICENSE
GPLv2 perl v5.14.2 2013-11-12 Munin::Master::Logger(3pm)
Related Man Pages
munin-html(8) - debian
log::log4perl::level(3pm) - debian
moosex::log::log4perl::easy(3pm) - debian
munin::master::htmlold(3pm) - debian
munin(8) - centos
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Introduction
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com