From: david Date: Sat, 7 Feb 2004 21:36:20 +0000 (+0000) Subject: Be a little quieter at the default debug level. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0633d703d03175c744da9adf6091a2d7f3d93d14;p=simgear.git Be a little quieter at the default debug level. --- diff --git a/simgear/io/sg_serial.cxx b/simgear/io/sg_serial.cxx index 61457092..fcffdf68 100644 --- a/simgear/io/sg_serial.cxx +++ b/simgear/io/sg_serial.cxx @@ -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; diff --git a/simgear/io/sg_socket.cxx b/simgear/io/sg_socket.cxx index 7407f6ec..e642639a 100644 --- a/simgear/io/sg_socket.cxx +++ b/simgear/io/sg_socket.cxx @@ -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; } diff --git a/simgear/io/sg_socket_udp.cxx b/simgear/io/sg_socket_udp.cxx index d3f17041..278acd9b 100644 --- a/simgear/io/sg_socket_udp.cxx +++ b/simgear/io/sg_socket_udp.cxx @@ -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; }