]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Document syslog_identity_tag for add_syslog_log
authorPeter Palfrader <peter@palfrader.org>
Wed, 30 Sep 2015 16:02:52 +0000 (18:02 +0200)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Sep 2015 16:34:15 +0000 (18:34 +0200)
src/common/log.c

index 8d1c40c36e5a68dfabfb46a681f6f98e2a30161f..126fb2e5dbe3012ebed1d3b85b3946919bde63a4 100644 (file)
@@ -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)