diff --git a/src/FDM/groundcache.cxx b/src/FDM/groundcache.cxx index b241a0f1c..450b53ef8 100644 --- a/src/FDM/groundcache.cxx +++ b/src/FDM/groundcache.cxx @@ -532,7 +532,7 @@ FGGroundCache::prepare_ground_cache(double ref_time, const double pt[3], cache_fill(terrain, xform, &acSphere, down, &wireSphere); // some stats - SG_LOG(SG_FLIGHT,SG_INFO, "prepare_ground_cache(): ac radius = " << rad + SG_LOG(SG_FLIGHT,SG_DEBUG, "prepare_ground_cache(): ac radius = " << rad << ", # triangles = " << triangles.size() << ", # wires = " << wires.size() << ", # catapults = " << catapults.size() diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 537b7679e..a0605f7d1 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -166,20 +166,20 @@ void FGLight::update_sky_color () { const GLfloat base_sky_color[4] = { 0.31, 0.43, 0.69, 1.0 }; const GLfloat base_fog_color[4] = { 0.84, 0.87, 1.0, 1.0 }; - SG_LOG( SG_EVENT, SG_INFO, "Updating light parameters." ); + SG_LOG( SG_EVENT, SG_DEBUG, "Updating light parameters." ); // calculate lighting parameters based on sun's relative angle to // local up float deg = _sun_angle * SGD_RADIANS_TO_DEGREES; - SG_LOG( SG_EVENT, SG_INFO, " Sun angle = " << deg ); + SG_LOG( SG_EVENT, SG_DEBUG, " Sun angle = " << deg ); float ambient = _ambient_tbl->interpolate( deg ); float diffuse = _diffuse_tbl->interpolate( deg ); float specular = _specular_tbl->interpolate( deg ); float sky_brightness = _sky_tbl->interpolate( deg ); - SG_LOG( SG_EVENT, SG_INFO, + SG_LOG( SG_EVENT, SG_DEBUG, " ambient = " << ambient << " diffuse = " << diffuse << " specular = " << specular << " sky = " << sky_brightness ); diff --git a/src/Time/sunpos.cxx b/src/Time/sunpos.cxx index cf35a852e..f9b87accb 100644 --- a/src/Time/sunpos.cxx +++ b/src/Time/sunpos.cxx @@ -260,8 +260,8 @@ void fgUpdateSunPos( void ) { SGTime *t = globals->get_time_params(); FGViewer *v = globals->get_current_view(); - SG_LOG( SG_EVENT, SG_INFO, " Updating Sun position" ); - SG_LOG( SG_EVENT, SG_INFO, " Gst = " << t->getGst() ); + SG_LOG( SG_EVENT, SG_DEBUG, " Updating Sun position" ); + SG_LOG( SG_EVENT, SG_DEBUG, " Gst = " << t->getGst() ); double sun_l; fgSunPositionGST(t->getGst(), &sun_l, &sun_gd_lat); @@ -273,8 +273,8 @@ void fgUpdateSunPos( void ) { Point3D p = Point3D( l->get_sun_lon(), l->get_sun_gc_lat(), sl_radius ); l->set_sunpos( sgPolarToCart3d(p) ); - SG_LOG( SG_EVENT, SG_INFO, " t->cur_time = " << t->get_cur_time() ); - SG_LOG( SG_EVENT, SG_INFO, + SG_LOG( SG_EVENT, SG_DEBUG, " t->cur_time = " << t->get_cur_time() ); + SG_LOG( SG_EVENT, SG_DEBUG, " Sun Geodetic lat = " << sun_gd_lat << " Geocentric lat = " << l->get_sun_gc_lat() ); @@ -302,7 +302,7 @@ void fgUpdateSunPos( void ) { // << nsun[2] << endl; l->set_sun_angle( acos( sgScalarProductVec3 ( nup, nsun ) ) ); - SG_LOG( SG_EVENT, SG_INFO, "sun angle relative to current location = " + SG_LOG( SG_EVENT, SG_DEBUG, "sun angle relative to current location = " << l->get_sun_angle() ); // calculate vector to sun's position on the earth's surface