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.
This commit is contained in:
Unto Sten 2018-08-17 14:08:59 +03:00
parent c8aecd14fe
commit ba3c785092

View File

@ -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;