[asterisk-bugs] [Asterisk 0014905]: Log message storms prevention.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 15 08:44:15 CDT 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=14905
======================================================================
Reported By: bamby
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14905
Category: Core/General
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
Asterisk Version: 1.4.21.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-04-15 08:44 CDT
Last Modified: 2009-04-15 08:44 CDT
======================================================================
Summary: Log message storms prevention.
Description:
Hi,
Asterisk allows the duplicate log messages to be written to the log
without limits. This can lead to quite unpleasant problems with the disk
space, like for example it happened recently with the issue 0014723.
The BSD syslogd uses a quite useful technique against such storms - when
log message is a duplicate of the previous, then this message is not
written to the log, but is silently counted instead. And when a new message
comes that differs from the previous one, then the message 'last message
repeated N times' is written to the log, following by the new message.
I've implemented this technique for the asterisk. Please see the attached
patch.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-04-15 08:44 bamby New Issue
2009-04-15 08:44 bamby Asterisk Version => 1.4.21.1
2009-04-15 08:44 bamby Regression => No
2009-04-15 08:44 bamby SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list