##// END OF EJS Templates
monkeypatch inspect.findsource in a context manager...
monkeypatch inspect.findsource in a context manager rather than all the time, so it doesn't affect use outside IPython

File last commit:

r9372:37f32253
r16441:ba676161
Show More
logtopics.rst
13 lines | 454 B | text/x-rst | RstLexer

Log Topic Specification

we use pyzmq to broadcast log events over a PUB socket. Engines, Controllers, etc. can all broadcast. SUB sockets can be used to view the logs, and ZMQ topics are used to help select out what to follow.

the PUBHandler object that emits the logs can ascribe topics to log messages. The order is:

<root_topic>.<loglevel>.<subtopic>[.<etc>]

root_topic is specified as an attribute