diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:51 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 23:03:18 +0000 |
commit | 2259b5172b37442a4e0420a16a7bde9e21ffa086 (patch) | |
tree | 961cff221bbf533d8f5a0530c95065421b42069a /contrib | |
parent | 7dd5b3900622008ff34ec70d71c6e994f460a46f (diff) | |
download | bitbake-2259b5172b37442a4e0420a16a7bde9e21ffa086.tar.gz |
contrib: Add autobuilder logging configuration
Adds a configuration file that the autobuilder can use to capture
interesting logging domains above the ones that show up for normal users
on stdout/stderr.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/autobuilderlog.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/autobuilderlog.json b/contrib/autobuilderlog.json new file mode 100644 index 000000000..103a1141f --- /dev/null +++ b/contrib/autobuilderlog.json @@ -0,0 +1,27 @@ +{ + "version": 1, + "handlers": { + "autobuilderlog": { + "class": "logging.FileHandler", + "formatter": "logfileFormatter", + "level": "DEBUG", + "filename": "autobuilder.log", + "mode": "w" + } + }, + "formatters": { + "logfileFormatter": { + "format": "%(name)s: %(levelname)s: %(message)s" + } + }, + "loggers": { + "BitBake.SigGen.HashEquiv": { + "level": "VERBOSE", + "handlers": ["autobuilderlog"] + }, + "BitBake.RunQueue.HashEquiv": { + "level": "VERBOSE", + "handlers": ["autobuilderlog"] + } + } +} |