]> git.e2factory.org Git - e2factory.git/commitdiff
remove some excessive logging
authorTobias Ulmer <tu@emlix.com>
Thu, 9 May 2019 14:27:02 +0000 (16:27 +0200)
committerTobias Ulmer <tu@emlix.com>
Thu, 9 May 2019 14:27:02 +0000 (16:27 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua
local/digest.lua

index d634ee2c79817748d2b32e79bbf5f284d81c1607..f6e1ea40fda5f6004ffcf235a6b903781d0dc523 100644 (file)
@@ -1303,7 +1303,6 @@ function e2lib.get_global_config()
     for _,path in ipairs(cf_path) do
         local data = nil
 
-        -- e2lib.logf(4, "trying global config file: %s", path)
         local rc = e2lib.exists(path)
         if rc then
             e2lib.logf(3, "loading global config file: %s", path)
@@ -1342,8 +1341,6 @@ function e2lib.get_global_config()
 
             get_global_config_cache = strict.lock(data)
             return get_global_config_cache
-        else
-            e2lib.logf(4, "global config file does not exist: %s", path)
         end
     end
     return false, err.new("no config file available")
index be4a63721719febea04a3a8f9dc139474a3b4ce3..b660ae7995c83b3eb2e718551f88fb3b7bb7db03 100644 (file)
@@ -625,6 +625,8 @@ function digest.assertSha256(dgst)
     assert(s == 1 and e == digest.SHA256_LEN)
 end
 
+trace.filter_function('digest', 'ishex')
+
 return strict.lock(digest)
 
 -- vim:sw=4:sts=4:et: