mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 14:20:42 +01:00
renamed $MainMsgQueuePersistUpdateCount config file directive to
$MainMsgQueueCheckpointInterval
This commit is contained in:
parent
bbf0aecbbd
commit
11044fe37c
@ -1,8 +1,13 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.10.2 (rgerhards), 2008-01-1?
|
||||
- added the ability to keep stop rsyslogd without the need to drain
|
||||
the main message queue. In disk queue mode, rsyslog continues to
|
||||
run from the point where it stopped. In case of a system failure, it
|
||||
continues to process messages from the last checkpoint.
|
||||
- fixed a bug that caused a segfault on startup when no $WorkDir directive
|
||||
was specified in rsyslog.conf
|
||||
- added $MainMsgQueueImmediateShutdown config directive
|
||||
- added $MainMsgQueueCheckpointInterval config file directive
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.10.1 (rgerhards), 2008-01-10
|
||||
- implemented the "disk" queue mode. However, it currently is of very
|
||||
|
||||
@ -59,11 +59,11 @@ development and quite unstable...). So you have been warned ;)</p>
|
||||
<li>$klogUseSyscallInterface (imklog) [on/<b>off</b>] -- former klogd
|
||||
-2 option</li>
|
||||
<li>$klogSymbolsTwice (imklog) [on/<b>off</b>] -- former klogd -s option</li>
|
||||
<li>$MainMsgQueueCheckpointInterval <number></li>
|
||||
<li>$MainMsgQueueFileName <name></li>
|
||||
<li>$MainMsgQueueImmediateShutdown [on/<b>off</b>]</li>
|
||||
<li><a href="rsconf1_mainmsgqueuesize.html">$MainMsgQueueSize</a></li>
|
||||
<li>$MainMsgQueueMaxFileSize <size_nbr>, default 1m</li>
|
||||
<li>$MainMsgQueuePersistUpdateCount <number></li>
|
||||
<li>$MainMsgQueueType [<b>FixedArray</b>/LinkedList/Direct/Disk]</li>
|
||||
<li>$MainMsgQueueWorkerThreads <number>, num worker threads, default 1,
|
||||
recommended 1</li>
|
||||
|
||||
@ -3400,7 +3400,7 @@ init(void)
|
||||
setQPROP(queueSetMaxFileSize, "$MainMsgQueueFileSize", iMainMsgQueMaxFileSize);
|
||||
setQPROPstr(queueSetFilePrefix, "$MainMsgQueueFileName",
|
||||
(pszMainMsgQFName == NULL ? (uchar*) "mainq" : pszMainMsgQFName));
|
||||
setQPROP(queueSetiPersistUpdCnt, "$MainMsgQueuePersistUpdateCount", iMainMsgQPersistUpdCnt);
|
||||
setQPROP(queueSetiPersistUpdCnt, "$MainMsgQueueCheckpointInterval", iMainMsgQPersistUpdCnt);
|
||||
|
||||
# undef setQPROP
|
||||
# undef setQPROPstr
|
||||
@ -4562,7 +4562,7 @@ static rsRetVal loadBuildInModules(void)
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuefilename", 0, eCmdHdlrGetWord, NULL, &pszMainMsgQFName, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuesize", 0, eCmdHdlrInt, NULL, &iMainMsgQueueSize, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueueimmediateshutdown", 0, eCmdHdlrBinary, NULL, &bMainMsgQImmediateShutdown, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuepersistupdatecount", 0, eCmdHdlrInt, NULL, &iMainMsgQPersistUpdCnt, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuecheckpointinterval", 0, eCmdHdlrInt, NULL, &iMainMsgQPersistUpdCnt, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuetype", 0, eCmdHdlrGetWord, setMainMsgQueType, NULL, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueueworkerthreads", 0, eCmdHdlrInt, NULL, &iMainMsgQueueNumWorkers, NULL));
|
||||
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuemaxfilesize", 0, eCmdHdlrSize, NULL, &iMainMsgQueMaxFileSize, NULL));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user