From ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6 Mon Sep 17 00:00:00 2001 From: Unto Sten Date: Fri, 17 Aug 2018 14:08:59 +0300 Subject: Inform users about configuration file and directory includes This patch makes it clearer to users what settings Tor daemon is actually using. I think it is pretty important. --- src/lib/encoding/confline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/encoding/confline.c b/src/lib/encoding/confline.c index dd5193d3a7..71ce5b8424 100644 --- a/src/lib/encoding/confline.c +++ b/src/lib/encoding/confline.c @@ -148,6 +148,9 @@ config_get_lines_aux(const char *string, config_line_t **result, int extended, tor_free(v); return -1; } + log_notice(LD_CONFIG, "Included configuration file or " + "directory at recursion level %d: \"%s\".", + recursion_level, v); *next = include_list; if (list_last) next = &list_last->next; -- cgit v1.2.3-54-g00ecf