aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-03-11 18:28:46 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 23:03:27 +0000
commit766587c0baaaeb5cda3e9454395edbb70e33f756 (patch)
tree6b13cd83a40a8c3e73e0f7aabb78a6f38a10b239 /contrib
parent2259b5172b37442a4e0420a16a7bde9e21ffa086 (diff)
downloadbitbake-766587c0baaaeb5cda3e9454395edbb70e33f756.tar.gz
knotty: Update hash equivalence logging
Updates hash equivalence logging so that the interesting VERBOSE messages are always logged to the consolelog file so that issues in individual user builds can be diagnosed. The autobuilder logging config then updates this so that they also are shown on stdout, since the consolelog file is not capture there. In order to facilitate this, 2 new logging handlers were added, "BitBake.verbconsole" and "BitBake.verbconsolelog". Neither of these handlers are attached to anything by default, but they will log any messages that wouldn't otherwise be logged by the normal console or consolelog handlers. Users can attach whatever loggers the desire to this handler to get them to appear on the console or in the consolelog, as demonstrated by the autobuilderlog.json file. 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.json18
1 files changed, 2 insertions, 16 deletions
diff --git a/contrib/autobuilderlog.json b/contrib/autobuilderlog.json
index 103a1141f..193a675a1 100644
--- a/contrib/autobuilderlog.json
+++ b/contrib/autobuilderlog.json
@@ -1,27 +1,13 @@
{
"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"]
+ "handlers": ["BitBake.verbconsole"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
- "handlers": ["autobuilderlog"]
+ "handlers": ["BitBake.verbconsole"]
}
}
}