Module: parallel.apps.logwatcher — IPython 2.3.1 documentation

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »