Logging#

Information is logged using python’s logging module. Each services logs via to the head and (optionally) to a local file.

logging broadcast to head: Messages of level WARNING and above are broadcast to the head IP (129.168.1.1) on the LOGGING_PORT specified for each service and can be intercepted for display in console and logging to file via ethomaster.head.headlogger.

logging to local file on node: Messages of level INFO and above are logged to a local file on the node, if logger has been initialized via self.init_local_logger(logfilename).