Reduce the log level to info
This commit is contained in:
parent
64cad6a288
commit
816d84457c
1 changed files with 2 additions and 2 deletions
|
@ -342,12 +342,12 @@ void fgUpdateSunPos( void ) {
|
||||||
// cout << " Dot product = " << dot << endl;
|
// cout << " Dot product = " << dot << endl;
|
||||||
|
|
||||||
if (dot > 1.0) {
|
if (dot > 1.0) {
|
||||||
SG_LOG( SG_ASTRO, SG_WARN,
|
SG_LOG( SG_ASTRO, SG_INFO,
|
||||||
"Dot product = " << dot << " is greater than 1.0" );
|
"Dot product = " << dot << " is greater than 1.0" );
|
||||||
dot = 1.0;
|
dot = 1.0;
|
||||||
}
|
}
|
||||||
else if (dot < -1.0) {
|
else if (dot < -1.0) {
|
||||||
SG_LOG( SG_ASTRO, SG_WARN,
|
SG_LOG( SG_ASTRO, SG_INFO,
|
||||||
"Dot product = " << dot << " is less than -1.0" );
|
"Dot product = " << dot << " is less than -1.0" );
|
||||||
dot = -1.0;
|
dot = -1.0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue