Displaying 1 result from an estimated 1 matches for "_config_file".
Did you mean:
config_file
2015 Jul 02
1
[PATCH 1/2] (read|append)_config_file: log open errors as LOG_DEBUG
....
This commit changes the log level to LOG_DEBUG so
syslog doesn't get filled by default.
---
src/conf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conf.c b/src/conf.c
index 2b32359..7756247 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -298,7 +298,7 @@ bool read_config_file(splay_tree_t *config_tree, const char *fname) {
fp = fopen(fname, "r");
if(!fp) {
- logger(DEBUG_ALWAYS, LOG_ERR, "Cannot open config file %s: %s", fname, strerror(errno));
+ logger(DEBUG_ALWAYS, LOG_DEBUG, "Cannot open config file %s: %s", fname, strerror(errn...