modify logrotate rule
This commit is contained in:
parent
401f75026b
commit
78e793b944
27
modify-logrotate-rule.patch
Normal file
27
modify-logrotate-rule.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 0d3323d13797f3f9d3124e3938787d2573bf249d Mon Sep 17 00:00:00 2001
|
||||||
|
From: zhangnan <zhangnan134@huawei.com>
|
||||||
|
Date: Mon, 28 Oct 2024 17:32:49 +0800
|
||||||
|
Subject: [PATCH] modify logrotate rule
|
||||||
|
|
||||||
|
---
|
||||||
|
config/logrotate | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/config/logrotate b/config/logrotate
|
||||||
|
index f54e7b3..e855118 100644
|
||||||
|
--- a/config/logrotate
|
||||||
|
+++ b/config/logrotate
|
||||||
|
@@ -1,8 +1,9 @@
|
||||||
|
/var/log/sysSentry/*.log {
|
||||||
|
- nocompress
|
||||||
|
+ compress
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
copytruncate
|
||||||
|
rotate 2
|
||||||
|
size +4096k
|
||||||
|
+ hourly
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
Summary: System Inspection Framework
|
Summary: System Inspection Framework
|
||||||
Name: sysSentry
|
Name: sysSentry
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 54
|
Release: 55
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -74,6 +74,7 @@ Patch61: fix-alarm_info-newline-break-error.patch
|
|||||||
Patch62: add-hbm-online-repair.patch
|
Patch62: add-hbm-online-repair.patch
|
||||||
Patch63: fix-hbm-online-repair-notice-and-efi-create.patch
|
Patch63: fix-hbm-online-repair-notice-and-efi-create.patch
|
||||||
Patch64: get_alarm-d-abnomal-display.patch
|
Patch64: get_alarm-d-abnomal-display.patch
|
||||||
|
Patch65: modify-logrotate-rule.patch
|
||||||
|
|
||||||
BuildRequires: cmake gcc-c++
|
BuildRequires: cmake gcc-c++
|
||||||
BuildRequires: python3 python3-setuptools
|
BuildRequires: python3 python3-setuptools
|
||||||
@ -367,6 +368,12 @@ rm -rf %{buildroot}
|
|||||||
%attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py
|
%attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 31 2024 zhangnan <zhangnan134@huawei.com> - 1.0.2-55
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DES:modify logrotate rule
|
||||||
|
|
||||||
* Tue Oct 29 2024 jinsaihang <jinsaihang@h-partners.com> - 1.0.2-54
|
* Tue Oct 29 2024 jinsaihang <jinsaihang@h-partners.com> - 1.0.2-54
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user