buildtest.log
Methods related to buildtest logging
Module Contents
Functions
|
Initialize a log file intended for a builder. This requires |
- buildtest.log.init_logfile(logfile=BUILDTEST_LOGFILE, debug=None, loglevel='DEBUG')[source]
Initialize a log file intended for a builder. This requires passing the filename intended for the log (from the builder) and returns the logger.
- Parameters:
logfile (str) – Path to logfile where buildtest will write logs
debug (bool, optional) – To enable debugging of logs to stdout. This option is enabled via
buildtest --debug
loglevel (str, optional) – This option will configure the loglevel by running logging.setLevel. This option is passed via
buildtest --loglevel