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