The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

 $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

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

 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

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

COPYRIGHT AND LICENSE

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.