• Home
  • Raw
  • Download

Lines Matching full:logging

18 Configuration functions for the logging package for Python. The core package
24 To use, simply 'import logging' and log away!
29 import logging
30 import logging.handlers
47 # reconfiguration of logging.
54 Read the logging configuration from a ConfigParser-format file.
85 logging._acquireLock()
89 # Handlers add themselves to logging._handlers
93 logging._releaseLock()
126 c = logging.Formatter
149 klass = eval(klass, vars(logging))
153 args = eval(args, vars(logging))
155 kwargs = eval(kwargs, vars(logging))
163 if issubclass(klass, logging.handlers.MemoryHandler):
175 When (re)configuring logging, handle loggers which were in the previous
178 and by disabling them, you stop them doing any logging.
184 root = logging.root
188 if not isinstance(logger, logging.PlaceHolder):
189 logger.setLevel(logging.NOTSET)
204 root = logging.root
241 logger = logging.getLogger(qn)
268 #and by disabling them, you stop them doing any logging.
274 # logger.level = logging.NOTSET
284 logging._handlers.clear()
285 logging.shutdown(logging._handlerList[:])
286 del logging._handlerList[:]
497 Configure logging using a dictionary-like object to describe the
511 logging._acquireLock()
516 if name not in logging._handlers:
521 handler = logging._handlers[name]
525 handler.setLevel(logging._checkLevel(level))
603 root = logging.root
634 #and by disabling them, you stop them doing any logging.
640 # logger.level = logging.NOTSET
657 logging._releaseLock()
682 c = logging.Formatter
701 result = logging.Filter(name)
737 if issubclass(klass, logging.handlers.MemoryHandler) and\
741 if not isinstance(th, logging.Handler):
748 elif issubclass(klass, logging.handlers.SMTPHandler) and\
751 elif issubclass(klass, logging.handlers.SysLogHandler) and\
771 result.setLevel(logging._checkLevel(level))
793 logger.setLevel(logging._checkLevel(level))
807 logger = logging.getLogger(name)
816 root = logging.getLogger()
822 """Configure logging using a dictionary."""
848 Handler for a logging configuration request.
850 It expects a completely new logging configuration and uses fileConfig
894 A simple TCP socket-based logging config receiver.
902 logging._acquireLock()
904 logging._releaseLock()
918 logging._acquireLock()
920 logging._releaseLock()
941 logging._acquireLock()
943 logging._releaseLock()
953 logging._acquireLock()
959 logging._releaseLock()