fix typo in mainloop()

Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit 1b2f5ee2eb3bd4e97099386563898fa6adeb586e)
This commit is contained in:
Qiumiao Zhang 2024-05-08 09:45:50 +00:00 committed by openeuler-sync-bot
parent d8eff7129d
commit 82b5075826
2 changed files with 8 additions and 2 deletions

View File

@ -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");

View File

@ -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 <zhangqiumiao1@huawei.com> - 8.2312.0-2
- Type:NA
- ID:NA
- SUG:NA
- DESC:fix typo in mainloop()
* Sun Feb 18 2024 sunhai <sunhai10@huawei.com> - 8.2312.0-1
- Type:NA
- ID:NA