From: Richard Purdie Date: Fri, 10 Nov 2023 17:57:56 +0000 (+0000) Subject: bitbake.conf: Log events by default using BB_DEFAULT_EVENTLOG X-Git-Tag: yocto-5.2~4536 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4719b68bb9e3cccb85aed55350e53a439360abcb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake.conf: Log events by default using BB_DEFAULT_EVENTLOG By setting this, event data from during the build is saved out. This can be used for analytic including toaster to allow builds to be examined later. This will use some disk space but it is worth it for the ability to look into what happened during the build. Users can set the value to something else in local.conf to override if they wish. Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 5bb007d62c5..983987cf7ef 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -934,6 +934,7 @@ BB_DEFAULT_UMASK ??= "022" # Complete output from bitbake BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" +BB_DEFAULT_EVENTLOG ?= "${LOG_DIR}/eventlog/${DATETIME}.json" # Setup our default hash policy BB_SIGNATURE_HANDLER ?= "OEBasicHash"