-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Feature request
It would be useful for the user to have information on pauses/resumes (and timestamps) being logged without having to use DEBUG level extensive logging which slows the client/server setup.
Proposed solution##
Possible solution --
import logging
STATUS_LEVEL_NUM = 25
logging.addLevelName(STATUS_LEVEL_NUM, "STATUS")
def status(self, message, *args, **kwargs):
if self.isEnabledFor(STATUS_LEVEL_NUM):
self._log(STATUS_LEVEL_NUM, message, args, **kwargs)
logging.Logger.status = status
The current logger format will also capture the time these log calls were made thus recording the time for which client requested the MD engine to pause.
Metadata
Metadata
Assignees
Labels
No labels