summaryrefslogtreecommitdiff
path: root/navit/plugin.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
commit15ed93bca6e29fafab036c05ea77c163ab2baebf (patch)
tree0118c6ec64520748c7daefd46e57c226343621d2 /navit/plugin.c
parent3f996b10edb6dfd66c7bbbc9c8f5447978c52600 (diff)
downloadnavit-svn-15ed93bca6e29fafab036c05ea77c163ab2baebf.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/plugin.c')
-rw-r--r--navit/plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/plugin.c b/navit/plugin.c
index ad3f0314..334dcde7 100644
--- a/navit/plugin.c
+++ b/navit/plugin.c
@@ -183,7 +183,7 @@ plugin_load(struct plugin *pl)
g_module_close(mod);
return 0;
} else {
- dbg(lvl_warning, "loaded module %s\n", pl->name);
+ dbg(lvl_debug, "loaded module %s\n", pl->name);
pl->mod=mod;
pl->init=init;
}
@@ -290,7 +290,7 @@ plugin_new(struct attr *parent, struct attr **attrs) {
if ( (attr=attr_search(attrs, NULL, attr_ondemand))) {
ondemand=attr->u.num;
}
- dbg(lvl_warning, "path=\"%s\", active=%d, lazy=%d, ondemand=%d\n",path_attr->u.str, active, lazy, ondemand);
+ dbg(lvl_debug, "path=\"%s\", active=%d, lazy=%d, ondemand=%d\n",path_attr->u.str, active, lazy, ondemand);
we=file_wordexp_new(path_attr->u.str);
count=file_wordexp_get_count(we);
@@ -385,7 +385,7 @@ plugin_get_type(enum plugin_type type, const char *type_name, const char *name)
struct plugin *pl;
char *mod_name, *filename=NULL, *corename=NULL;
- dbg(lvl_warning, "type=\"%s\", name=\"%s\"\n", type_name, name);
+ dbg(lvl_debug, "type=\"%s\", name=\"%s\"\n", type_name, name);
l=plugin_types[type];
while (l) {
@@ -407,7 +407,7 @@ plugin_get_type(enum plugin_type type, const char *type_name, const char *name)
mod_name=pl->name;
dbg(lvl_info,"compare '%s' with '%s'\n", mod_name, filename);
if (!g_ascii_strncasecmp(mod_name, filename, strlen(filename)) || !g_ascii_strncasecmp(mod_name, corename, strlen(corename))) {
- dbg(lvl_warning, "Loading module \"%s\"\n",pl->name) ;
+ dbg(lvl_debug, "Loading module \"%s\"\n",pl->name) ;
if (plugin_get_active(pl))
if (!plugin_load(pl))
plugin_set_active(pl, 0);