From 82b5075826e05babc3a2cfa40d470f799b9e1f61 Mon Sep 17 00:00:00 2001 From: Qiumiao Zhang Date: Wed, 8 May 2024 09:45:50 +0000 Subject: [PATCH] fix typo in mainloop() Signed-off-by: Qiumiao Zhang (cherry picked from commit 1b2f5ee2eb3bd4e97099386563898fa6adeb586e) --- ...n-queue-info-to-journal-when-receive-USR1-signal.patch | 2 +- rsyslog.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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 11a37a0..a6cace6 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 d6cf7c5..8e7486a 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 -- Gitee