From 36ee3176db70ebc6f3c4c1e828f7f38849c3c842 Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Mon, 21 Nov 2022 14:16:12 +0000 Subject: [PATCH] strategy.yaml loading: give remap rule context in debug for troubleshooting --- proxy/http/remap/NextHopStrategyFactory.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/http/remap/NextHopStrategyFactory.cc b/proxy/http/remap/NextHopStrategyFactory.cc index ca1544a167c..ec1d06bf14c 100644 --- a/proxy/http/remap/NextHopStrategyFactory.cc +++ b/proxy/http/remap/NextHopStrategyFactory.cc @@ -102,6 +102,7 @@ NextHopStrategyFactory::NextHopStrategyFactory(const char *file) : fn(file) NH_Error("Invalid policy '%s' for the strategy named '%s', this strategy will be ignored.", policy_value.c_str(), name.c_str()); } else { + NH_Debug(NH_DEBUG_TAG, "createStragety '%s'", name.c_str()); createStrategy(name, policy_type, strategy); strategy.done(); }