summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-09-28 17:26:28 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-09-28 17:26:28 +0200
commit054d2ccdd6044f94823f8facbda935cb70646333 (patch)
treef2051f857a4413062475a7ae42c23299aeeced6d /runtime
parent01a8807174d91a7936345d1172a87f98bbba61c4 (diff)
downloadrsyslog-054d2ccdd6044f94823f8facbda935cb70646333.tar.gz
rsyslog-054d2ccdd6044f94823f8facbda935cb70646333.tar.xz
rsyslog-054d2ccdd6044f94823f8facbda935cb70646333.zip
imuxsock: added per-socket hash tables/rate limiters & severity filter
rate limiting now applies only to messages with a given severity or above. By default, emergency messages are NOT rate-limited.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/rsyslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index c58c259b..43203378 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -457,6 +457,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_EPOLL_CTL_FAILED = -2174, /**< epoll_ctl() failed */
RS_RET_INTERNAL_ERROR = -2175, /**< rsyslogd internal error, unexpected code path reached */
RS_RET_ERR_CRE_AFUX = -2176, /**< error creating AF_UNIX socket (and binding it) */
+ RS_RET_RATE_LIMITED = -2177, /**< some messages discarded due to exceeding a rate limit */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */