From: Tobias Ulmer Date: Thu, 6 Feb 2014 19:02:34 +0000 (+0100) Subject: Log all external commands at debug level X-Git-Tag: e2factory-2.3.15rc1~227 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=25b2fa879710827e70008881c63e92e5ea06bcfa;p=e2factory.git Log all external commands at debug level Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 2112cff..9beee2c 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -1306,6 +1306,9 @@ function e2lib.callcmd(argv, fdctv, workdir, envdict) local rc, re, pid local sync_pipes = {} + e2lib.logf(3, "calling %q in %q", table.concat(argv, " "), + workdir or "$PWD") + rc, re = fd_parent_setup(fdctv) if not rc then return false, re