diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 16:39:36 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 16:39:36 +0200 |
commit | 34a88a7e9a9501593b6fe9f79cc96963c4da7cde (patch) | |
tree | df742c45987b068beeb12e1cdac8996edd79a86e /plugins/imfile/imfile.c | |
parent | 6ab4666622efeb9944bbf7b6e3581d1372465adb (diff) | |
download | rsyslog-34a88a7e9a9501593b6fe9f79cc96963c4da7cde.tar.gz rsyslog-34a88a7e9a9501593b6fe9f79cc96963c4da7cde.tar.bz2 rsyslog-34a88a7e9a9501593b6fe9f79cc96963c4da7cde.zip |
ratelimit: added linux-like ratelimiter type
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r-- | plugins/imfile/imfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 99210b76..9a8a0373 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -412,7 +412,7 @@ addListner(instanceConf_t *inst) pThis->lenTag = ustrlen(pThis->pszTag); pThis->pszStateFile = (uchar*) strdup((char*) inst->pszStateFile); - CHKiRet(ratelimitNew(&pThis->ratelimiter)); + CHKiRet(ratelimitNew(&pThis->ratelimiter, "imfile", inst->pszFileName)); CHKmalloc(pThis->multiSub.ppMsgs = MALLOC(inst->nMultiSub * sizeof(msg_t*))); pThis->multiSub.maxElem = inst->nMultiSub; pThis->multiSub.nElem = 0; |