aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-15 15:33:34 -0500
committerNick Mathewson <nickm@torproject.org>2014-02-15 15:33:34 -0500
commitb3a69074933492080629d45b1c890606aa2bd08a (patch)
tree53f4929f0c1e19ed7ff9022ac194defe8ce78f25 /src/common/log.c
parent67749475f56532235602e0c8d1a9a59a68d816c3 (diff)
downloadtor-b3a69074933492080629d45b1c890606aa2bd08a.tar
tor-b3a69074933492080629d45b1c890606aa2bd08a.tar.gz
Remove a bunch of functions that were never called.
Diffstat (limited to 'src/common/log.c')
-rw-r--r--src/common/log.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 9c67de320..a837cf86a 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
-