diff --git a/lib/go/camli/mysqlindexer/receive.go b/lib/go/camli/mysqlindexer/receive.go index 6597b5005..741bb0c3e 100644 --- a/lib/go/camli/mysqlindexer/receive.go +++ b/lib/go/camli/mysqlindexer/receive.go @@ -96,7 +96,7 @@ func (mi *Indexer) ReceiveBlob(blobRef *blobref.BlobRef, source io.Reader) (rets hash := blobRef.Hash() var written int64 written, err = io.Copy(io.MultiWriter(hash, sniffer), source) - log.Printf("mysqlindexer: wrote %d; err %v", written, err) + log.Printf("mysqlindexer: hashed+sniffed %d bytes; err %v", written, err) if err != nil { return } @@ -108,7 +108,7 @@ func (mi *Indexer) ReceiveBlob(blobRef *blobref.BlobRef, source io.Reader) (rets sniffer.Parse() mimeType := sniffer.MimeType() - log.Printf("Read %d bytes; type=%v; truncated=%v", written, sniffer.IsTruncated()) + log.Printf("mysqlindexer: type=%v; truncated=%v", mimeType, sniffer.IsTruncated()) var client *mysql.Client if client, err = mi.getConnection(); err != nil {