Lines Matching refs:logging
11 import logging
18 log = logging.getLogger(__name__)
102 Set up logging from the command line options
104 root_logger = logging.getLogger()
107 formatter = logging.Formatter("%(asctime)s %(levelname)-5.5s %(message)s")
111 handler = logging.FileHandler(options.logfile, mode="w")
113 handler.setLevel(logging.DEBUG)
121 root_logger.setLevel(logging.DEBUG)
124 root_logger.setLevel(logging.INFO)
127 stdout_handler = logging.StreamHandler(sys.stdout)
129 stdout_handler.setLevel(logging.DEBUG)
148 # Setup logging using the user options