From c2ab21a1b92e2e87fc64acd17c41f7c8f1c76de5 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 16 Sep 2021 08:33:53 +0200 Subject: [PATCH] ifupdown: downgrade warning about missing /etc/network/interfaces file I don't think this warrants a warning. It's important to keep the number of warnings and errors in the log low, and only print such messages if there is really something that requires attention by the user. If you run without /etc/network/interfaces, then this is pretty much expected and the warning isn't going to tell you anything useful. --- .../settings/plugins/ifupdown/nms-ifupdown-interface-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/settings/plugins/ifupdown/nms-ifupdown-interface-parser.c b/src/core/settings/plugins/ifupdown/nms-ifupdown-interface-parser.c index a8a9c40a9f..849868771c 100644 --- a/src/core/settings/plugins/ifupdown/nms-ifupdown-interface-parser.c +++ b/src/core/settings/plugins/ifupdown/nms-ifupdown-interface-parser.c @@ -112,7 +112,7 @@ _recursive_ifparser(if_parser *parser, const char *eni_file, int quiet) /* Check if interfaces file exists and open it */ if (!g_file_test(eni_file, G_FILE_TEST_EXISTS)) { if (!quiet) - _LOGW("interfaces file %s doesn't exist", eni_file); + _LOGI("interfaces file %s doesn't exist", eni_file); return; } inp = fopen(eni_file, "re");