Be a little quieter at the default debug level.

This commit is contained in:
david
2004-02-07 21:36:20 +00:00
parent ec6ce9fcd8
commit 0633d703d0
3 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ int SGSerial::write( const char *buf, const int length ) {
int result = port.write_port( buf, length );
if ( result != length ) {
SG_LOG( SG_IO, SG_ALERT, "Error writing data: " << device );
SG_LOG( SG_IO, SG_WARN, "Error writing data: " << device );
}
return result;

View File

@@ -331,7 +331,7 @@ SGSocket::write( const char *buf, const int length )
if ( s->send( buf, length ) < 0 )
{
SG_LOG( SG_IO, SG_ALERT, "Error writing to socket: " << port );
SG_LOG( SG_IO, SG_WARN, "Error writing to socket: " << port );
error_condition = true;
}

View File

@@ -162,7 +162,7 @@ int SGSocketUDP::write( const char *buf, const int length ) {
bool error_condition = false;
if ( sock.send( buf, length, 0 ) < 0 ) {
SG_LOG( SG_IO, SG_ALERT, "Error writing to socket: " << port );
SG_LOG( SG_IO, SG_WARN, "Error writing to socket: " << port );
error_condition = true;
return 0;
}