Supervisor::Log - A simple logger for the Supervisor environment


Supervisor documentation  | view source Contained in the Supervisor distribution.

Index


NAME

Top

Supervisor::Log - A simple logger for the Supervisor environment

SYNOPSIS

Top

 $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");

DESCRIPTION

Top

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.

SEE ALSO

Top

 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

AUTHOR

Top

Kevin L. Esteb, <kesteb@wsipc.org>

COPYRIGHT AND LICENSE

Top


Supervisor documentation  | view source Contained in the Supervisor distribution.