Supervisor::Log - A simple logger for the Supervisor environment
$log = Supervisor::Log->new( info => 1, warn => 1, error => 1, fatal => 1, debug => 0, system => $self->config('Name'), filename => $self->config('Logfile'), ); $log->info("It's working");
The supervisor captures the stdout and stderr streams from each managed process and redirects them into a log file. The logfile name can be specified.
This module inherits from the Badger::Log::File module. It specifies a logging format and overrides the log() and format() methods to do what I want them to do.
Badger::Log Badger::Log::File Supervisor Supervisor::Base Supervisor::Class Supervisor::Constants Supervisor::Controller Supervisor::Log Supervisor::Process Supervisor::ProcessFactory Supervisor::Session Supervisor::Utils Supervisor::RPC::Server Supervisor::RPC::Client
Kevin L. Esteb, <firstname.lastname@example.org>
Copyright (C) 2009 by WSIPC
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.