[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Inform users about configuration file and directory includes



commit ba3c785092fce23ce9ec52c89ed69b2c0f0f92f6
Author: Unto Sten <sten.unto@xxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits