GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MUNIN::MASTER::LOGGER (3)

.ds Aq ’

NAME

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

CONTENTS

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 O\k:/ierud.

LICENSE

GPLv2
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MUNIN::MASTER::LOGGER (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.