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

NAME

AnyEvent::MP::LogCatcher - catch all logs from all nodes

SYNOPSIS

   use AnyEvent::MP::LogCatcher;

DESCRIPTION

This relatively simple module overrides $AnyEvent::MP::Kernel::WARN on every node and sends all log messages to the node running this service.

No attempt to buffer log messages on connection loss, or retransmit lost messages, is done.

GLOBALS AND FUNCTIONS

AnyEvent::MP::LogCatcher::catch [$level]

Starts catching all log messages from all nodes with level $level or lower. If the $level is undef, then stop catching all messages again.

Example: start a node that catches all messages (you might have to specify a suitable profile name).

   aemp run profilename services '[["AnyEvent::MP::LogCatcher::catch",9]]'

SEE ALSO

AnyEvent::MP.

AUTHOR

 Marc Lehmann <schmorp@schmorp.de>
 http://home.schmorp.de/