summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-14 15:44:04 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-14 15:44:04 -0400
commit6c27b911222cdee9a057de0be7e8b2eff8b1ff2a (patch)
tree6826e3dfba56df804ca56e5571b14258915ae9e8 /os
parentcbb4e80eb7cc8dc2aff5e5268b49cdb7b3c3d5fa (diff)
Restore compression of duplicate log file entries.
This undoes the workaround for bug #964, which was an Xprintism.
Diffstat (limited to 'os')
-rw-r--r--os/log.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/os/log.c b/os/log.c
index 0860847ec..8c579fd0c 100644
--- a/os/log.c
+++ b/os/log.c
@@ -498,15 +498,6 @@ 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++;
@@ -520,7 +511,6 @@ VAuditF(const char *f, va_list args)
nrepeat = 0;
auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL);
}
-#endif
if (prefix != NULL)
free(prefix);
}