!158 [sync] PR-156: fix typo in mainloop()

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2024-05-11 01:30:43 +00:00 committed by Gitee
commit b6d5678031
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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