Lines Matching full:logging
29 import logging
46 logging.debug(command)
53 logging.debug("Result: %s", result[0])
69 logging.debug("tracked origin commit id: %s", o_from_t["hash"])
101 logging.debug("tracked origin commit id: %s", o_from_t["hash"])
108 logging.debug(command)
119 logging.debug(command)
134 logging.error("Cannot find the origin path for {file_path}")
141 logging.error("Cannot find the latest commit for %s", file_path)
150 logging.error("Error: Cannot find the latest origin commit for %s", file_path)
154 logging.debug("No update needed for %s", file_path)
156 logging.info(file_path)
163 logging.info("commit %s", pretty_output(commit))
165 logging.info("%d commits needs resolving in total\n", count)
199 class DmesgFormatter(logging.Formatter):
200 """Custom dmesg logging formatter"""
209 """configure logging based on the log level"""
211 logger = logging.getLogger()
215 console_handler = logging.StreamHandler()
219 file_handler = logging.FileHandler(log_file)
257 help='Set the logging level')
262 help='Set the logging file (default: checktransupdate.log)')
269 # Configure logging based on the --log argument
270 log_level = getattr(logging, args.log.upper(), logging.INFO)
294 logging.info(os.path.relpath(os.path.abspath(file), linux_path))
295 logging.info("No translation in the locale of %s\n", args.locale)