29 lines
935 B
Diff
29 lines
935 B
Diff
From 1e927d2e8c828b6502d871ab882ded509b83e9c6 Mon Sep 17 00:00:00 2001
|
|
From: wangjufeng <wangjufeng@huawei.com>
|
|
Date: Sat, 16 Nov 2019 15:02:41 +0800
|
|
Subject: [PATCH] increase log level of lvmetad
|
|
|
|
This patch add fatal,error,warn log of lvmetad to syslog.
|
|
|
|
Signed-off-by: wangjufeng<wangjufeng@huawei.com>
|
|
---
|
|
scripts/lvm2_lvmetad_systemd_red_hat.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
|
|
index 2135101..08a4b73 100644
|
|
--- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in
|
|
+++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
|
|
@@ -10,7 +10,7 @@ Conflicts=shutdown.target
|
|
[Service]
|
|
Type=simple
|
|
NonBlocking=true
|
|
-ExecStart=@SBINDIR@/lvmetad -f -t 3600
|
|
+ExecStart=@SBINDIR@/lvmetad -f -t 3600 -l fatal,error,warn
|
|
Environment=SD_ACTIVATION=1
|
|
Restart=on-abort
|
|
PIDFile=@LVMETAD_PIDFILE@
|
|
--
|
|
1.8.3.1
|
|
|