diff options
Diffstat (limited to 'src/proxy_config.rs')
-rw-r--r-- | src/proxy_config.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/proxy_config.rs b/src/proxy_config.rs index dd7a357..a15c143 100644 --- a/src/proxy_config.rs +++ b/src/proxy_config.rs @@ -136,6 +136,8 @@ fn parse_tricot_add_header_tag(tag: &str) -> Option<(String, String)> { } fn parse_consul_catalog(catalog: &ConsulNodeCatalog) -> Vec<ProxyEntry> { + trace!("Parsing node catalog: {:#?}", catalog); + let mut entries = vec![]; for (_, svc) in catalog.services.iter() { @@ -168,6 +170,11 @@ fn parse_consul_catalog(catalog: &ConsulNodeCatalog) -> Vec<ProxyEntry> { } } + trace!("Result of parsing catalog:"); + for ent in entries.iter() { + trace!(" {}", ent); + } + entries } |