moved a stderr log to the verbose log

This commit is contained in:
Arvid Norberg 2006-10-02 10:06:31 +00:00
parent f029f5d6b2
commit 599cfe3820
1 changed files with 4 additions and 1 deletions

View File

@ -599,7 +599,10 @@ namespace libtorrent { namespace dht
}
catch (std::exception& e)
{
std::cerr << "invalid incoming packet: " << e.what();
#ifdef TORRENT_DHT_VERBOSE_LOGGING
TORRENT_LOG(dht_tracker) << "invalid incoming packet: "
<< e.what();
#endif
}
}
catch (std::exception& e)