reduce spam

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

View File

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