moved piece_finished_alert to debug level
This commit is contained in:
parent
51f12e774e
commit
c4c8d0f533
|
@ -191,7 +191,7 @@ namespace libtorrent
|
||||||
const torrent_handle& h
|
const torrent_handle& h
|
||||||
, int piece_num
|
, int piece_num
|
||||||
, const std::string& msg)
|
, const std::string& msg)
|
||||||
: torrent_alert(h, alert::warning, msg)
|
: torrent_alert(h, alert::debug, msg)
|
||||||
, piece_index(piece_num)
|
, piece_index(piece_num)
|
||||||
{ assert(piece_index >= 0);}
|
{ assert(piece_index >= 0);}
|
||||||
|
|
||||||
|
|
|
@ -825,7 +825,7 @@ namespace libtorrent
|
||||||
|
|
||||||
if (passed_hash_check)
|
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()
|
m_ses.m_alerts.post_alert(piece_finished_alert(get_handle()
|
||||||
, index, "piece finished"));
|
, index, "piece finished"));
|
||||||
|
|
Loading…
Reference in New Issue