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