Marc Lehmann > AnyEvent-MP-1.30 > AnyEvent::MP::LogCatcher

Download:
AnyEvent-MP-1.30.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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/
syntax highlighting: