From 0f14669f9558ede31f19a179a4cb9d13330caaf1 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 30 Nov 2018 17:15:20 +0100 Subject: Limit the monitoring to events not to the requests Improve the accuracy of the monitoring trace filtering, spying the requests isn't needed anymore. Change-Id: I0177346c27914df99027cb0324e20ee43e702e8d Signed-off-by: Romain Forlot --- conf.d/controller/lua.d/aft.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.d/controller') diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua index 7b6379a..f5094c2 100644 --- a/conf.d/controller/lua.d/aft.lua +++ b/conf.d/controller/lua.d/aft.lua @@ -666,11 +666,11 @@ function _launch_test(context, confArgs, queryArgs) -- lua test files to execute in the Framework. AFB:servsync(_AFT.context, "monitor", "set", { verbosity = "debug" }) if type(confArgs.trace) == "string" then - AFB:servsync(_AFT.context, "monitor", "trace", { add = { request = "vverbose", event = "push_after", pattern = confArgs.trace.."/*" }}) + AFB:servsync(_AFT.context, "monitor", "trace", { add = {event = "push_after", pattern = confArgs.trace.."/*" }}) elseif type(confArgs.trace) == "table" then for _,v in pairs(confArgs.trace) do if type(v) == "string" then - AFB:servsync(_AFT.context, "monitor", "trace", { add = { request = "vverbose", event = "push_after", pattern = v.."/*" }}) + AFB:servsync(_AFT.context, "monitor", "trace", { add = { event = "push_after", pattern = v.."/*" }}) end end end -- cgit 1.2.3-korg