From 73a372bde4ab33a1aaa1d71b02cb842662d0b318 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 18 Oct 2022 10:32:34 +1000 Subject: Print CRITICAL errors as well as putting them in the log file. --- apt-panopticommon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 3e2dc08..e380e75 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -464,7 +464,7 @@ local log = function(v, t, s, prot, test, host) if nil ~= APT.logFile then if APT.html then local colour = "white" - if -1 == v then colour = "fuchsia" end -- CRITICAL + if -1 == v then colour = "fuchsia"; print(t .. " " .. s) end -- CRITICAL if 0 == v then colour = "red " end -- ERROR if 1 == v then colour = "yellow " end -- WARNING if 2 == v then colour = "blue " end -- TIMEOUT -- cgit v1.1