diff options
author | Roger Dingledine <arma@torproject.org> | 2016-04-05 19:38:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-04-05 23:13:55 -0400 |
commit | d037369e562ec40e602a86919c3e8341c867b48b (patch) | |
tree | d309f77fef8ccff51ae464d585ad32d86e2894e0 | |
parent | 967491f1566002861b4ff64cfcd68052acb35900 (diff) | |
download | tor-d037369e562ec40e602a86919c3e8341c867b48b.tar.gz tor-d037369e562ec40e602a86919c3e8341c867b48b.zip |
quiet debug logs from periodic_event_dispatch()
Stop blasting twelve lines per second from periodic_event_dispatch()
at loglevel debug.
Resolves ticket 18729; fix on 0.2.8.1-alpha.
-rw-r--r-- | changes/bug18729 | 3 | ||||
-rw-r--r-- | src/or/periodic.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/changes/bug18729 b/changes/bug18729 new file mode 100644 index 0000000000..d4312c0b76 --- /dev/null +++ b/changes/bug18729 @@ -0,0 +1,3 @@ + o Minor logging changes: + - Stop blasting twelve lines per second from periodic_event_dispatch() + at loglevel debug. Resolves ticket 18729; fix on 0.2.8.1-alpha. diff --git a/src/or/periodic.c b/src/or/periodic.c index 3fe500ca17..057fcf672e 100644 --- a/src/or/periodic.c +++ b/src/or/periodic.c @@ -48,7 +48,7 @@ periodic_event_dispatch(evutil_socket_t fd, short what, void *data) time_t now = time(NULL); const or_options_t *options = get_options(); - log_debug(LD_GENERAL, "Dispatching %s", event->name); +// log_debug(LD_GENERAL, "Dispatching %s", event->name); int r = event->fn(now, options); int next_interval = 0; @@ -71,8 +71,8 @@ periodic_event_dispatch(evutil_socket_t fd, short what, void *data) next_interval = 1; } - log_debug(LD_GENERAL, "Scheduling %s for %d seconds", event->name, - next_interval); +// log_debug(LD_GENERAL, "Scheduling %s for %d seconds", event->name, +// next_interval); struct timeval tv = { next_interval , 0 }; event_add(event->ev, &tv); } |