summaryrefslogtreecommitdiff
path: root/navit/start_real.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-11-22 22:36:24 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-11-22 22:36:24 +0000
commitcb575bf823793db3620c77a3c7bf12a7d3856ed3 (patch)
tree0118c6ec64520748c7daefd46e57c226343621d2 /navit/start_real.c
parent72471adee798a3a1d8414f0d4f77be816fb4dad6 (diff)
downloadnavit-cb575bf823793db3620c77a3c7bf12a7d3856ed3.tar.gz
Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it looks like an error message.|#1269, part 5
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5967 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/start_real.c')
-rw-r--r--navit/start_real.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/start_real.c b/navit/start_real.c
index ee1b93ec1..fbbd5a2ea 100644
--- a/navit/start_real.c
+++ b/navit/start_real.c
@@ -190,7 +190,7 @@ int main_real(int argc, char * const* argv)
}
// Try the next config file possibility from the list
config_file = li->data;
- dbg(lvl_warning,"trying %s\n",config_file);
+ dbg(lvl_debug,"trying %s\n",config_file);
if (file_exists(config_file)) {
break;
}
@@ -198,11 +198,11 @@ int main_real(int argc, char * const* argv)
li = g_list_next(li);
}
- dbg(lvl_error,"Loading %s\n",config_file);
+ dbg(lvl_debug,"Loading %s\n",config_file);
if (!config_load(config_file, &error)) {
dbg(lvl_error, _("Error parsing config file '%s': %s\n"), config_file, error ? error->message : "");
} else {
- dbg(lvl_error, _("Using config file '%s'\n"), config_file);
+ dbg(lvl_info, _("Using config file '%s'\n"), config_file);
}
if (! config) {
dbg(lvl_error, _("Error: No configuration found in config file '%s'\n"), config_file);