1
0
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:
Nick Craig-Wood
2025-01-07 11:19:58 +00:00
parent abf11271fe
commit 5f70918e2c
2 changed files with 2 additions and 1 deletions

View File

@@ -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)