Lines Matching refs:logging
30 import logging
44 log = logging.getLogger(__name__)
331 Set up logging from the command line options
333 root_logger = logging.getLogger()
336 formatter = logging.Formatter("%(asctime)s %(levelname)-5.5s %(message)s")
340 handler = logging.FileHandler(options.logfile, mode="w")
342 handler.setLevel(logging.DEBUG)
350 root_logger.setLevel(logging.DEBUG)
353 root_logger.setLevel(logging.INFO)
356 stdout_handler = logging.StreamHandler(sys.stdout)
358 stdout_handler.setLevel(logging.DEBUG)
366 # Setup logging using the user options