X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=torrent.go;fp=torrent.go;h=6385a3fc026f9a2474ddc029908ef236ab30713a;hb=5d0de758a23911b24e16b6ba2ae1a9f9eeb585d0;hp=8b4745218864d81bb19ffda48140aa245f4cc044;hpb=fb0716bbad69daa313b14df24bda03cf965b2d75;p=btrtrc.git diff --git a/torrent.go b/torrent.go index 8b474521..6385a3fc 100644 --- a/torrent.go +++ b/torrent.go @@ -2143,7 +2143,7 @@ func (t *Torrent) pieceHashed(piece pieceIndex, passed bool, hashIoErr error) { } err := p.Storage().MarkComplete() if err != nil { - t.logger.Printf("%T: error marking piece complete %d: %s", t.storage, piece, err) + t.logger.Levelf(log.Warning, "%T: error marking piece complete %d: %s", t.storage, piece, err) } t.cl.lock()