diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:24 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:24 +0000 |
commit | cb575bf823793db3620c77a3c7bf12a7d3856ed3 (patch) | |
tree | 0118c6ec64520748c7daefd46e57c226343621d2 /navit/plugin.c | |
parent | 72471adee798a3a1d8414f0d4f77be816fb4dad6 (diff) | |
download | navit-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/plugin.c')
-rw-r--r-- | navit/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/plugin.c b/navit/plugin.c index ad3f03147..334dcde72 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); |