diff options
author | Unto Sten <sten.unto@gmail.com> | 2018-08-17 14:08:59 +0300 |
---|---|---|
committer | Unto Sten <sten.unto@gmail.com> | 2018-08-17 14:08:59 +0300 |
commit | ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6 (patch) | |
tree | 09748f2dbf75784af77e609a9cc1d0be9e02921e /src/lib/encoding | |
parent | c8aecd14fecc55f5d8a48f793c24e3df68f1483c (diff) | |
download | tor-ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6.tar.gz tor-ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6.zip |
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.
Diffstat (limited to 'src/lib/encoding')
-rw-r--r-- | src/lib/encoding/confline.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |