INN commit: trunk (innd/util.c lib/timer.c)
INN Commit
rra at isc.org
Sat Sep 5 18:03:05 UTC 2015
Date: Saturday, September 5, 2015 @ 11:03:04
Author: eagle
Revision: 9941
Change syslog messages used by tests/innd/chan-t.c to notice
Avoids spamming syslog when running the test suite. Using notice
should be equivalent for the callers of this code. (This should
be done more broadly across the code base, but this change will
quiet the immediate issue.)
Modified:
trunk/innd/util.c
trunk/lib/timer.c
-------------+
innd/util.c | 4 ++--
lib/timer.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: innd/util.c
===================================================================
--- innd/util.c 2015-09-04 12:58:15 UTC (rev 9940)
+++ innd/util.c 2015-09-05 18:03:04 UTC (rev 9941)
@@ -378,8 +378,8 @@
{
struct histstats stats = HISstats(History);
- syslog(L_NOTICE, "ME HISstats %d hitpos %d hitneg %d missed %d dne",
- stats.hitpos, stats.hitneg, stats.misses, stats.dne);
+ notice("ME HISstats %d hitpos %d hitneg %d missed %d dne",
+ stats.hitpos, stats.hitneg, stats.misses, stats.dne);
}
Modified: lib/timer.c
===================================================================
--- lib/timer.c 2015-09-04 12:58:15 UTC (rev 9940)
+++ lib/timer.c 2015-09-05 18:03:04 UTC (rev 9941)
@@ -377,6 +377,6 @@
for (i = 0; i < timer_count; i++)
if (timers[i] != NULL)
off += TMRsumone(labels, timers[i], buf + off, len - off);
- syslog(LOG_NOTICE, "%s", buf);
+ notice("%s", buf);
free(buf);
}
More information about the inn-committers
mailing list