commit ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6 Author: Unto Sten sten.unto@gmail.com Date: Fri Aug 17 14:08:59 2018 +0300
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 dd5193d3a..71ce5b842 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;