##// END OF EJS Templates
embed_kernel: only import zmq when needed
embed_kernel: only import zmq when needed

File last commit:

r3970:c5a35798
r6219:087e9c3b
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