diff options
author | Adam Jackson <ajax@redhat.com> | 2008-05-14 15:44:04 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-05-14 15:44:04 -0400 |
commit | 6c27b911222cdee9a057de0be7e8b2eff8b1ff2a (patch) | |
tree | 6826e3dfba56df804ca56e5571b14258915ae9e8 /os | |
parent | cbb4e80eb7cc8dc2aff5e5268b49cdb7b3c3d5fa (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.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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); } |