diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-15 15:33:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-15 15:33:34 -0500 |
commit | b3a69074933492080629d45b1c890606aa2bd08a (patch) | |
tree | 53f4929f0c1e19ed7ff9022ac194defe8ce78f25 /src/common/log.c | |
parent | 67749475f56532235602e0c8d1a9a59a68d816c3 (diff) | |
download | tor-b3a69074933492080629d45b1c890606aa2bd08a.tar.gz tor-b3a69074933492080629d45b1c890606aa2bd08a.zip |
Remove a bunch of functions that were never called.
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/common/log.c b/src/common/log.c index 9c67de320b..a837cf86a7 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -1279,38 +1279,3 @@ switch_logs_debug(void) UNLOCK_LOGS(); } -#if 0 -static void -dump_log_info(logfile_t *lf) -{ - const char *tp; - - if (lf->filename) { - printf("=== log into \"%s\" (%s-%s) (%stemporary)\n", lf->filename, - sev_to_string(lf->min_loglevel), - sev_to_string(lf->max_loglevel), - lf->is_temporary?"":"not "); - } else if (lf->is_syslog) { - printf("=== syslog (%s-%s) (%stemporary)\n", - sev_to_string(lf->min_loglevel), - sev_to_string(lf->max_loglevel), - lf->is_temporary?"":"not "); - } else { - printf("=== log (%s-%s) (%stemporary)\n", - sev_to_string(lf->min_loglevel), - sev_to_string(lf->max_loglevel), - lf->is_temporary?"":"not "); - } -} - -void -describe_logs(void) -{ - logfile_t *lf; - printf("==== BEGIN LOGS ====\n"); - for (lf = logfiles; lf; lf = lf->next) - dump_log_info(lf); - printf("==== END LOGS ====\n"); -} -#endif - |