client.logging ============== .. py:module:: client.logging .. autoapi-nested-parse:: Configuration setting for client-side only. Attributes ---------- .. autoapisummary:: client.logging._DEFAULT_LOG_FORMAT client.logging.default_config Classes ------- .. autoapisummary:: client.logging.JobmonLoggerConfig Module Contents --------------- .. py:data:: _DEFAULT_LOG_FORMAT :value: '%(asctime)s [%(name)-12s] %(module)s %(levelname)-8s: %(message)s' .. py:data:: default_config :type: Dict .. py:class:: JobmonLoggerConfig A class to automatically format and attach handlers to client logging modules. .. py:attribute:: dict_config .. py:method:: set_default_config(dict_config: Optional[Dict] = None) -> None :classmethod: Set the default logging configuration for this factory. :param dict_config: A logging dict config to utilize when adding new loggers. each logger added via add_logger method expects to find a handler called "default" .. py:method:: attach_default_handler(logger_name: str, log_level: int = logging.INFO) -> None :classmethod: A method to setup the default logging config for a specific logger_name. :param logger_name: The logger to setup :param log_level: the log severity of the handler. Returns: None