disable logging alerts in client_test

This commit is contained in:
Arvid Norberg 2014-12-10 09:45:38 +00:00
parent 333a13c957
commit a3d1a493fd
2 changed files with 7 additions and 1 deletions

View File

@ -1218,7 +1218,11 @@ int main(int argc, char* argv[])
& ~(alert::dht_notification & ~(alert::dht_notification
+ alert::progress_notification + alert::progress_notification
+ alert::debug_notification + alert::debug_notification
+ alert::stats_notification)); + alert::stats_notification
+ alert::session_log_notification
+ alert::torrent_log_notification
+ alert::peer_log_notification
));
ses.set_load_function(&load_torrent); ses.set_load_function(&load_torrent);

View File

@ -460,6 +460,8 @@ namespace aux {
void session_impl::start_session(settings_pack const& pack) void session_impl::start_session(settings_pack const& pack)
{ {
m_alerts.set_alert_mask(pack.get_int(settings_pack::alert_mask));
#if defined TORRENT_LOGGING #if defined TORRENT_LOGGING
session_log("start session"); session_log("start session");
#endif #endif