Lines Matching refs:logging
28 import logging
33 # Setup logging class
34 logging.basicConfig(level=logging.INFO, format='%(message)s')
37 logging.info("illegal argument: " + run_cmd)
38 logging.info("Usage: python run_apache2.py start|stop|restart")
106 logging.info("Will " + run_cmd + " apache2 server.")
111 logging.info("First will stop...")
114 logging.info("Failed to stop Apache2")
116 logging.info("Stopped. Will start now...")
124 logging.info("Failed to start Apache2")
127 logging.info("Successfully started")
135 logging.info(out)
139 logging.info("!! ERRORS:")
142 logging.info(err)
144 logging.info("apache2 is probably not installed")
146 logging.info(err)
147 logging.info("Try looking in " + error_log_path + " for details")