AnyEvent::MP::LogCatcher - catch all logs from all nodes
This relatively simple module attaches itself to the
$AnyEvent::Log::COLLECT context on every node and sends all log messages to the node showing interest via the
No attempt to buffer log messages on connection loss, or to retransmit lost messages, is done.
- AnyEvent::MP::LogCatcher::catch [$level]
Starts catching all log messages from all nodes with level
$levelor lower. If the
undef, then stop catching all messages again.
Example: start a node that catches all messages (you might have to specify a suitable profile name).
AE_VERBOSE=9 aemp run profilename services '[["AnyEvent::MP::LogCatcher::catch",9]]'
AnyEvent::MP::LogCatcher logs messages from remote nodes. It logs them into the original logging context and prepends the origin node name and, if the time difference is larger than 1e-4 seconds, also the time difference between local time and origin time.
Marc Lehmann <email@example.com> http://home.schmorp.de/