IPython Documentation

Table Of Contents

Previous topic

Module: parallel.apps.launcher

Next topic

Module: parallel.apps.win32support

This Page

Warning

This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: parallel.apps.logwatcher

A simple logger object that consolidates messages incoming from ipcluster processes.

Authors:

  • MinRK

1 Class

class IPython.parallel.apps.logwatcher.LogWatcher(**kwargs)

Bases: IPython.config.configurable.LoggingConfigurable

A simple class that receives messages on a SUB socket, as published by subclasses of zmq.log.handlers.PUBHandler, and logs them itself.

This can subscribe to multiple topics, but defaults to all topics.

__init__(**kwargs)
log_message(raw)

receive and parse a message, then log it.

subscribe()

Update our SUB socket’s subscriptions.