Munin:...:Logger(3pm)

🌸 NAME 🌸

okay so welcome to the Munin:...:Logger(3pm) page from User Contributed Perl Documentation, bestie! πŸ’–

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. ✨

🚨 bestie, do not use logger when writing new code. Use the Log::Log4perl :easy API instead, okay? This module takes care of initializing Log::Log4perl at load time. πŸ’…

✨ SUBROUTINES ✨

πŸŽ€ logger_open πŸŽ€

This one needs to be called once in the main program with one argument: the directory where the munin logs goes. The running program's name ($0) will be used as the log name (e.g. munin-graph.log). πŸ—‚οΈ

πŸ’€ logger

Do not use. periodt. 😭

πŸ”₯ logger_level

Use this to set the program's 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 was ported to Log4perl by Nicolai Langfeldt. Split out into this module by Kjell Magne Øierud. πŸ‘‘


πŸŽ€ LICENSE πŸŽ€

GPLv2 β€” that's the whole vibe. 🌈


and that's a wrap, bestie! 🫢 This page is Munin:...:Logger(3pm), made with perl v5.42.0, dated 2026-09-14. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from