From c4c8d0f5335eedcf22f703394b54b2cfa251d0f6 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 3 Oct 2007 23:15:13 +0000 Subject: [PATCH] moved piece_finished_alert to debug level --- include/libtorrent/alert_types.hpp | 2 +- src/torrent.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index a4fb5c12a..2f1998aae 100755 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -191,7 +191,7 @@ namespace libtorrent const torrent_handle& h , int piece_num , const std::string& msg) - : torrent_alert(h, alert::warning, msg) + : torrent_alert(h, alert::debug, msg) , piece_index(piece_num) { assert(piece_index >= 0);} diff --git a/src/torrent.cpp b/src/torrent.cpp index 35abc2c49..33fbe9b40 100755 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -825,7 +825,7 @@ namespace libtorrent if (passed_hash_check) { - if (m_ses.m_alerts.should_post(alert::info)) + if (m_ses.m_alerts.should_post(alert::debug)) { m_ses.m_alerts.post_alert(piece_finished_alert(get_handle() , index, "piece finished"));