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

[tor-commits] [tor/master] Document syslog_identity_tag for add_syslog_log



commit 335af6fed8af30b8528965247622b71102e8dd2c
Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
Date:   Wed Sep 30 18:02:52 2015 +0200

    Document syslog_identity_tag for add_syslog_log
---
 src/common/log.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/common/log.c b/src/common/log.c
index 8d1c40c..126fb2e 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -1097,6 +1097,9 @@ add_file_log(const log_severity_list_t *severity, const char *filename,
 #ifdef HAVE_SYSLOG_H
 /**
  * Add a log handler to send messages to they system log facility.
+ *
+ * If this is the first log handler, opens syslog with ident Tor or
+ * Tor-<syslog_identity_tag> if that is not NULL.
  */
 int
 add_syslog_log(const log_severity_list_t *severity, const char* syslog_identity_tag)



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