From 3f84e4f71d9c7c560f9bef675b1cc96fa1d83b14 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Fri, 13 Aug 2004 19:51:34 +0000 Subject: [PATCH] Fix Xprt bug by disabling code that merges multiple audit messages (Bug #964, Roland Mainz). --- os/log.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/os/log.c b/os/log.c index 79bcac8b1..1794919a1 100644 --- a/os/log.c +++ b/os/log.c @@ -487,6 +487,15 @@ VAuditF(const char *f, va_list args) prefix = AuditPrefix(); len = vsnprintf(buf, sizeof(buf), f, args); +#if 1 + /* XXX Compressing duplicated messages is temporarily disabled to + * work around bugzilla 964: + * https://freedesktop.org/bugzilla/show_bug.cgi?id=964 + */ + ErrorF("%s%s", prefix != NULL ? prefix : "", buf); + oldlen = -1; + nrepeat = 0; +#else if (len == oldlen && strcmp(buf, oldbuf) == 0) { /* Message already seen */ nrepeat++; @@ -500,6 +509,7 @@ VAuditF(const char *f, va_list args) nrepeat = 0; auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL); } +#endif if (prefix != NULL) free(prefix); }