From: Tobias Ulmer Date: Wed, 22 Jun 2016 17:06:46 +0000 (+0200) Subject: e2build: don't spam build output into debug.log X-Git-Tag: e2factory-2.3.15rc1~139 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=01b191db2b85649f828c7c429bdfdb128681703c;p=e2factory.git e2build: don't spam build output into debug.log Signed-off-by: Tobias Ulmer --- diff --git a/local/e2build.lua b/local/e2build.lua index 67fd801..0d28bbd 100644 --- a/local/e2build.lua +++ b/local/e2build.lua @@ -457,7 +457,11 @@ local function runbuild(info, resultname, return_flags) end local function logto(output) - e2lib.log(3, output) + if e2lib.getlog(3) then + -- no need to spam debug.log unless requested, + -- we're already writing the same output to build.log + e2lib.log(3, output) + end eio.fwrite(out, output) end