Convert several alert/info statements to debug.
This commit is contained in:
parent
128dd77314
commit
dc28e74081
1 changed files with 3 additions and 3 deletions
|
@ -384,15 +384,15 @@ void FGExternalNet::update( double dt ) {
|
|||
length = sizeof(ctrls);
|
||||
global2raw( &ctrls );
|
||||
if ( data_client.send( (char *)(& ctrls), length, 0 ) != length ) {
|
||||
SG_LOG( SG_IO, SG_ALERT, "Error writing data." );
|
||||
SG_LOG( SG_IO, SG_DEBUG, "Error writing data." );
|
||||
} else {
|
||||
SG_LOG( SG_IO, SG_ALERT, "wrote control data." );
|
||||
SG_LOG( SG_IO, SG_DEBUG, "wrote control data." );
|
||||
}
|
||||
|
||||
// Read next set of FDM data (blocking enabled to maintain 'sync')
|
||||
length = sizeof(fdm);
|
||||
while ( (result = data_server.recv( (char *)(& fdm), length, 0)) >= 0 ) {
|
||||
SG_LOG( SG_IO, SG_INFO, "Success reading data." );
|
||||
SG_LOG( SG_IO, SG_DEBUG, "Success reading data." );
|
||||
net2global( &fdm );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue