Worker API

The init_worker_logging() function is the primary entry point for worker processes.

manylog.init_worker_logging(address, level=20)

Initialize logging in the worker.

Parameters:
  • address (str) – The address of the socket to connect to. This can be obtained from manylog.LogListener.address.

  • level (int) – The maximum logging level to forward.