summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-19 19:57:08 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-19 19:57:08 +0000
commit1b82f43c170632d45cc63875f6a9bf193ab78b63 (patch)
treecb656ddeecc039aa9bdf105cd49de8ab00e8659e /navit/vehicleprofile.c
parent7db5af1eda421c8a603038336f70971d4170a63e (diff)
downloadnavit-1b82f43c170632d45cc63875f6a9bf193ab78b63.tar.gz
Fix:core:Silence verbose logging from vehicleprofile.c.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5581 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index 65b862f25..34eec076d 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -184,7 +184,7 @@ static void
vehicleprofile_debug_roadprofile(gpointer key, gpointer value, gpointer user_data)
{
struct roadprofile *rp=value;
- dbg(0,"type %s avg %d weight %d max %d\n",item_to_name((int)(long)key),rp->speed,rp->route_weight,rp->maxspeed);
+ dbg(3,"type %s avg %d weight %d max %d\n",item_to_name((int)(long)key),rp->speed,rp->route_weight,rp->maxspeed);
}
static void
@@ -192,7 +192,7 @@ vehicleprofile_update(struct vehicleprofile *this_)
{
struct attr_iter *iter=vehicleprofile_attr_iter_new();
struct attr profile_option;
- dbg(0,"enter\n");
+ dbg(3,"enter\n");
vehicleprofile_clear(this_);
vehicleprofile_apply_attrs(this_, (struct navit_object *)this_, 0);
while (vehicleprofile_get_attr(this_, attr_profile_option, &profile_option, iter)) {
@@ -200,13 +200,13 @@ vehicleprofile_update(struct vehicleprofile *this_)
if (!profile_option.u.navit_object->func->get_attr(profile_option.u.navit_object, attr_active, &active, NULL))
active.u.num=0;
if (profile_option.u.navit_object->func->get_attr(profile_option.u.navit_object, attr_name, &name, NULL))
- dbg(0,"%p %s %ld\n",profile_option.u.navit_object,name.u.str,active.u.num);
+ dbg(3,"%p %s %ld\n",profile_option.u.navit_object,name.u.str,active.u.num);
if (active.u.num)
vehicleprofile_apply_attrs(this_, profile_option.u.navit_object, 1);
}
vehicleprofile_attr_iter_destroy(iter);
- dbg(0,"result l %d w %d h %d wg %d awg %d pen %d\n",this_->length,this_->width,this_->height,this_->weight,this_->axle_weight,this_->through_traffic_penalty);
- dbg(0,"m %d fwd 0x%x rev 0x%x flags 0x%x max %d stsp %d stdst %d dg %d\n",this_->mode,this_->flags_forward_mask,this_->flags_reverse_mask, this_->flags, this_->maxspeed_handling, this_->static_speed, this_->static_distance, this_->dangerous_goods);
+ dbg(3,"result l %d w %d h %d wg %d awg %d pen %d\n",this_->length,this_->width,this_->height,this_->weight,this_->axle_weight,this_->through_traffic_penalty);
+ dbg(3,"m %d fwd 0x%x rev 0x%x flags 0x%x max %d stsp %d stdst %d dg %d\n",this_->mode,this_->flags_forward_mask,this_->flags_reverse_mask, this_->flags, this_->maxspeed_handling, this_->static_speed, this_->static_distance, this_->dangerous_goods);
g_hash_table_foreach(this_->roadprofile_hash, vehicleprofile_debug_roadprofile, NULL);
}