reduce spam

This commit is contained in:
David Rose 2009-08-21 23:03:11 +00:00
parent f34abe4411
commit d62ae11874

View File

@ -380,14 +380,16 @@ run() {
BIO_set_nbio(*_bio, 1); BIO_set_nbio(*_bio, 1);
} }
if (_connect_count > 0) { if (downloader_cat.is_debug()) {
downloader_cat.info() if (_connect_count > 0) {
<< "Reconnecting to " << _bio->get_server_name() << ":" downloader_cat.debug()
<< _bio->get_port() << "\n"; << "Reconnecting to " << _bio->get_server_name() << ":"
} else { << _bio->get_port() << "\n";
downloader_cat.info() } else {
<< "Connecting to " << _bio->get_server_name() << ":" downloader_cat.debug()
<< _bio->get_port() << "\n"; << "Connecting to " << _bio->get_server_name() << ":"
<< _bio->get_port() << "\n";
}
} }
_state = S_connecting; _state = S_connecting;