|
|
4b6aa8 |
From 7e2a0632429559b88f367ec618f350330668e4ba Mon Sep 17 00:00:00 2001
|
|
|
4b6aa8 |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
4b6aa8 |
Date: Thu, 18 Dec 2014 23:56:15 +0100
|
|
|
4b6aa8 |
Subject: [LIBREPORT PATCH 121/124] lib: make config files loading quiter
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
Related: #1140224, #1174833
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
|
4b6aa8 |
---
|
|
|
4b6aa8 |
src/lib/configuration_files.c | 4 ++--
|
|
|
4b6aa8 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
diff --git a/src/lib/configuration_files.c b/src/lib/configuration_files.c
|
|
|
4b6aa8 |
index 146ee4c..bc1852e 100644
|
|
|
4b6aa8 |
--- a/src/lib/configuration_files.c
|
|
|
4b6aa8 |
+++ b/src/lib/configuration_files.c
|
|
|
4b6aa8 |
@@ -254,7 +254,7 @@ static bool internal_aug_get_all_option_names(augeas *aug, const char *real_path
|
|
|
4b6aa8 |
}
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
/* The file is empty or contains only comments and new lines */
|
|
|
4b6aa8 |
- log_notice("Configuration file '%s' contains no option", real_path);
|
|
|
4b6aa8 |
+ log_info("Configuration file '%s' contains no option", real_path);
|
|
|
4b6aa8 |
return true;
|
|
|
4b6aa8 |
}
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
@@ -297,7 +297,7 @@ bool load_conf_file(const char *path, map_string_t *settings, bool skipKeysWitho
|
|
|
4b6aa8 |
goto cleanup;
|
|
|
4b6aa8 |
}
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
- log_notice("Loaded option '%s' = '%s'", option, value);
|
|
|
4b6aa8 |
+ log_info("Loaded option '%s' = '%s'", option, value);
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
if (!skipKeysWithoutValue || value[0] != '\0')
|
|
|
4b6aa8 |
replace_map_string_item(settings, xstrdup(option), xstrdup(value));
|
|
|
4b6aa8 |
--
|
|
|
4b6aa8 |
1.8.3.1
|
|
|
4b6aa8 |
|