diff --git a/print-main-queue-info-to-journal-when-receive-USR1-signal.patch b/print-main-queue-info-to-journal-when-receive-USR1-signal.patch index 11a37a0e982b2fd92b3ace5cba7e77561973aa1b..a6cace6d5ee2cb605248ac7045797a759ef6c287 100644 --- a/print-main-queue-info-to-journal-when-receive-USR1-signal.patch +++ b/print-main-queue-info-to-journal-when-receive-USR1-signal.patch @@ -77,7 +77,7 @@ index d27a2a7..6aa81b8 100644 +#ifdef HAVE_LIBSYSTEMD + if (g_bRecordQueue) { + if (runConf->pMsgQueue != NULL) { -+ sd_journal_print(LOG_NOTICE, "main queue size information: current QueueSize=%d MaxQeueSize=%d\n", ++ sd_journal_print(LOG_NOTICE, "main queue size information: current QueueSize=%d MaxQueueSize=%d\n", + runConf->pMsgQueue->iQueueSize, runConf->pMsgQueue->iMaxQueueSize); + } else { + sd_journal_print(LOG_NOTICE, "main queue size information: pMsgQueue is NULL!\n"); diff --git a/rsyslog.spec b/rsyslog.spec index d6cf7c533650e1aa056e54c11149b1758689ff50..8e7486af43c370b9b602ce95a818401c71e973fb 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -7,7 +7,7 @@ Name: rsyslog Version: 8.2312.0 -Release: 1 +Release: 2 Summary: The rocket-fast system for log processing License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ @@ -506,6 +506,12 @@ done %{_mandir}/man1/rscryutil.1.gz %changelog +* Wed May 8 2024 zhangqiumiao - 8.2312.0-2 +- Type:NA +- ID:NA +- SUG:NA +- DESC:fix typo in mainloop() + * Sun Feb 18 2024 sunhai - 8.2312.0-1 - Type:NA - ID:NA