Changeset 11696


Ignore:
Timestamp:
Jan 18, 2011, 2:17:47 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) demote the remaining lazy-verify debug messages from the debug window to deep logging

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r11691 r11696  
    14561456                    const tr_bool ok = tr_torrentCheckPiece( tor, p );
    14571457
    1458                     tr_tordbg( tor, "[LAZY] checked just-completed piece %zu", (size_t)p );
     1458                    tordbg( t, "[LAZY] checked just-completed piece %zu", (size_t)p );
    14591459
    14601460                    if( !ok )
  • trunk/libtransmission/torrent.c

    r11631 r11696  
    5454***/
    5555
     56#define tr_deeplog_tor( tor, ... ) \
     57    do { \
     58        if( tr_deepLoggingIsActive( ) ) \
     59            tr_deepLog( __FILE__, __LINE__, tr_torrentName( tor ), __VA_ARGS__ ); \
     60    } while( 0 )
     61
     62/***
     63****
     64***/
     65
    5666int
    5767tr_torrentId( const tr_torrent * tor )
     
    765775    if( disappeared )
    766776    {
    767         tr_tordbg( tor, "%s", "[LAZY] uh oh, the files disappeared" );
     777        tr_deeplog_tor( tor, "%s", "[LAZY] uh oh, the files disappeared" );
    768778        tr_torrentSetLocalError( tor, "%s", _( "No data found! Ensure your drives are connected or use \"Set Location\". To re-download, remove the torrent and re-add it." ) );
    769779    }
     
    23392349    const tr_bool pass = tr_ioTestPiece( tor, pieceIndex );
    23402350
    2341     tr_tordbg( tor, "[LAZY] tr_torrentCheckPiece tested piece %zu, pass==%d", (size_t)pieceIndex, (int)pass );
     2351    tr_deeplog_tor( tor, "[LAZY] tr_torrentCheckPiece tested piece %zu, pass==%d", (size_t)pieceIndex, (int)pass );
    23422352    tr_torrentSetHasPiece( tor, pieceIndex, pass );
    23432353    tr_torrentSetPieceChecked( tor, pieceIndex );
Note: See TracChangeset for help on using the changeset viewer.