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/script.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/script.c')
-rw-r--r-- | navit/script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/script.c b/navit/script.c index 92abda500..2c6719cdc 100644 --- a/navit/script.c +++ b/navit/script.c @@ -43,7 +43,7 @@ script_run(struct script *scr) dbg(lvl_error,"no text\n"); return; } - dbg(lvl_error,"running '%s'\n",xml_text->u.str); + dbg(lvl_debug,"running '%s'\n",xml_text->u.str); command_evaluate_to_void(&scr->parent, xml_text->u.str, &error); } @@ -52,7 +52,7 @@ script_set_attr_int(struct script *scr, struct attr *attr) { switch (attr->type) { case attr_refresh_cond: - dbg(lvl_error,"refresh_cond\n"); + dbg(lvl_debug,"refresh_cond\n"); if (scr->cs) command_saved_destroy(scr->cs); scr->cs=command_saved_attr_new(attr->u.str, &scr->parent, scr->cb, 0); @@ -79,14 +79,14 @@ script_new(struct attr *parent, struct attr **attrs) scr->parent=*parent; while (attrs && *attrs) script_set_attr_int(scr, *attrs++); - dbg(lvl_error,"return %p\n",scr); + dbg(lvl_debug,"return %p\n",scr); return scr; } static void script_destroy(struct script *scr) { - dbg(lvl_error,"enter %p\n",scr); + dbg(lvl_debug,"enter %p\n",scr); if (scr->timeout) event_remove_timeout(scr->timeout); if (scr->cs) |