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


AnyEvent-MP documentation  | view source Contained in the AnyEvent-MP distribution.

Index


NAME

Top

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

SYNOPSIS

Top

   use AnyEvent::MP::LogCatcher;

DESCRIPTION

Top

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

Top

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

Top

AnyEvent::MP.

AUTHOR

Top

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


AnyEvent-MP documentation  | view source Contained in the AnyEvent-MP distribution.