Home | History | Annotate | Download | only in tests

Lines Matching refs:logging

11 import logging
19 log = logging.getLogger(__name__)
290 Set up logging from the command line options
292 root_logger = logging.getLogger()
295 formatter = logging.Formatter("%(asctime)s %(levelname)-5.5s "
301 handler = logging.FileHandler(options.logfile, mode="w")
303 handler.setLevel(logging.DEBUG)
311 root_logger.setLevel(logging.DEBUG)
314 root_logger.setLevel(logging.INFO)
317 stdout_handler = logging.StreamHandler(sys.stdout)
319 stdout_handler.setLevel(logging.DEBUG)
338 # Setup logging using the user options