AnyEvent::MP::LogCatcher - catch all logs from all nodes
use AnyEvent::MP::LogCatcher;
This relatively simple module overrides $AnyEvent::MP::Kernel::WARN on every node and sends all log messages to the node running this service.
$AnyEvent::MP::Kernel::WARN
No attempt to buffer log messages on connection loss, or retransmit lost messages, is done.
Starts catching all log messages from all nodes with level $level or lower. If the $level is undef, then stop catching all messages again.
$level
undef
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]]'
AnyEvent::MP.
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/
To install AnyEvent::MP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::MP
CPAN shell
perl -MCPAN -e shell install AnyEvent::MP
For more information on module installation, please visit the detailed CPAN module installation guide.