mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
fs/operations: make log messages consistent for mkdir/rmdir at INFO level
Before this change, creating a new directory would write a DEBUG log but removing it would write an INFO log. This change makes both write an INFO log for consistency.
This commit is contained in:
@@ -1050,7 +1050,7 @@ func Mkdir(ctx context.Context, f fs.Fs, dir string) error {
|
||||
if SkipDestructive(ctx, fs.LogDirName(f, dir), "make directory") {
|
||||
return nil
|
||||
}
|
||||
fs.Debugf(fs.LogDirName(f, dir), "Making directory")
|
||||
fs.Infof(fs.LogDirName(f, dir), "Making directory")
|
||||
err := f.Mkdir(ctx, dir)
|
||||
if err != nil {
|
||||
err = fs.CountError(ctx, err)
|
||||
|
||||
Reference in New Issue
Block a user