acd: make file size warning at Info level so it appears by default

This commit is contained in:
Nick Craig-Wood 2017-02-26 13:23:12 +00:00
parent 6bad0ad9c4
commit e48d19f895

View File

@ -558,7 +558,7 @@ func (f *Fs) Put(in io.Reader, src fs.ObjectInfo) (fs.Object, error) {
return nil, err return nil, err
} }
if size > warnFileSize { if size > warnFileSize {
fs.Debugf(f, "Warning: file %q may fail because it is too big. Use --max-size=%dM to skip large files.", remote, warnFileSize>>20) fs.Logf(f, "Warning: file %q may fail because it is too big. Use --max-size=%dM to skip large files.", remote, warnFileSize>>20)
} }
folder := acd.FolderFromId(directoryID, o.fs.c.Nodes) folder := acd.FolderFromId(directoryID, o.fs.c.Nodes)
var info *acd.File var info *acd.File