lvm2/SOURCES/0019-print-warning-about-unrecognized-journal-option-valu.patch

25 lines
646 B
Diff
Raw Normal View History

2022-03-29 19:15:27 +00:00
From 604fd528fb4f00a9f77e084a1b22eff2aeef0259 Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Thu, 2 Dec 2021 12:40:52 -0600
2022-09-27 20:33:39 +00:00
Subject: [PATCH 19/54] print warning about unrecognized journal option value
2022-03-29 19:15:27 +00:00
---
lib/log/log.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/log/log.c b/lib/log/log.c
index 7b4d537b3..5771a1d01 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -892,6 +892,7 @@ uint32_t log_journal_str_to_val(const char *str)
return LOG_JOURNAL_OUTPUT;
if (!strcasecmp(str, "debug"))
return LOG_JOURNAL_DEBUG;
+ log_warn("Ignoring unrecognized journal value.");
return 0;
}
--
2022-09-27 20:33:39 +00:00
2.34.3
2022-03-29 19:15:27 +00:00