summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2004-08-13 19:51:34 +0000
committerKevin E Martin <kem@kem.org>2004-08-13 19:51:34 +0000
commit3f84e4f71d9c7c560f9bef675b1cc96fa1d83b14 (patch)
tree9c3c505ca5382c53d8f75d50045d3a9eb492a8be /os/log.c
parent922fd3a2e568571171dfd64a94f804350829230f (diff)
Fix Xprt bug by disabling code that merges multiple audit messages (Bug
#964, Roland Mainz).
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c10
1 files changed, 10 insertions, 0 deletions
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);
}