forked from premiere/premiere-libtorrent
disable logging alerts in client_test
This commit is contained in:
parent
333a13c957
commit
a3d1a493fd
|
@ -1218,7 +1218,11 @@ int main(int argc, char* argv[])
|
|||
& ~(alert::dht_notification
|
||||
+ alert::progress_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);
|
||||
|
||||
|
|
|
@ -460,6 +460,8 @@ namespace aux {
|
|||
|
||||
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
|
||||
session_log("start session");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue