diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:51 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-13 11:29:23 +0000 |
commit | 25944b82597b6ee6276956831c4c3b67608c8a38 (patch) | |
tree | 47048ebd76463f9d27dee238e8a991be09b14e78 /bitbake/contrib/autobuilderlog.json | |
parent | 5766cf50b04f52cb782b0a3eed43cc429e488d1b (diff) | |
download | poky-25944b82597b6ee6276956831c4c3b67608c8a38.tar.gz |
bitbake: 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.
(Bitbake rev: 2259b5172b37442a4e0420a16a7bde9e21ffa086)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/contrib/autobuilderlog.json')
-rw-r--r-- | bitbake/contrib/autobuilderlog.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bitbake/contrib/autobuilderlog.json b/bitbake/contrib/autobuilderlog.json new file mode 100644 index 0000000000..103a1141f6 --- /dev/null +++ b/bitbake/contrib/autobuilderlog.json | |||
@@ -0,0 +1,27 @@ | |||
1 | { | ||
2 | "version": 1, | ||
3 | "handlers": { | ||
4 | "autobuilderlog": { | ||
5 | "class": "logging.FileHandler", | ||
6 | "formatter": "logfileFormatter", | ||
7 | "level": "DEBUG", | ||
8 | "filename": "autobuilder.log", | ||
9 | "mode": "w" | ||
10 | } | ||
11 | }, | ||
12 | "formatters": { | ||
13 | "logfileFormatter": { | ||
14 | "format": "%(name)s: %(levelname)s: %(message)s" | ||
15 | } | ||
16 | }, | ||
17 | "loggers": { | ||
18 | "BitBake.SigGen.HashEquiv": { | ||
19 | "level": "VERBOSE", | ||
20 | "handlers": ["autobuilderlog"] | ||
21 | }, | ||
22 | "BitBake.RunQueue.HashEquiv": { | ||
23 | "level": "VERBOSE", | ||
24 | "handlers": ["autobuilderlog"] | ||
25 | } | ||
26 | } | ||
27 | } | ||