IPython Documentation

Table Of Contents

Previous topic

Module: parallel.apps.launcher

Next topic

Module: parallel.apps.win32support

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

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.