You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/11/21 15:10:44 UTC

[trafficserver] branch master updated: strategy.yaml loading: give remap rule context in debug for troubleshooting (#9213)

This is an automated email from the ASF dual-hosted git repository.

bnolsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new db8b38767 strategy.yaml loading: give remap rule context in debug for troubleshooting (#9213)
db8b38767 is described below

commit db8b38767b23cde0293be5754e7996b42fe39512
Author: Brian Olsen <br...@comcast.com>
AuthorDate: Mon Nov 21 08:10:37 2022 -0700

    strategy.yaml loading: give remap rule context in debug for troubleshooting (#9213)
---
 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 ca1544a16..ec1d06bf1 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();
       }