torrent.go | 2 +- diff --git a/torrent.go b/torrent.go index 8b4745218864d81bb19ffda48140aa245f4cc044..6385a3fc026f9a2474ddc029908ef236ab30713a 100644 --- a/torrent.go +++ b/torrent.go @@ -2143,7 +2143,7 @@ p.Flush() // You can be synchronous here! } 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()