From 6b4c0334311e06084723c5984afea3624c8235f1 Mon Sep 17 00:00:00 2001 From: zemul Date: Tue, 3 Jan 2023 16:00:45 +0800 Subject: [PATCH] add mount log (#4101) * filer.backup use replication.source.filer * add mount log * Revert "filer.backup use replication.source.filer" This reverts commit 07bf6f956c67b19ceed0f62e7d01e8ef1fdf6454. * fix Co-authored-by: zemul --- weed/command/mount_std.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 40b285ccf..33061146a 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -256,7 +256,8 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { seaweedFileSystem.StartBackgroundTasks() - fmt.Printf("This is SeaweedFS version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH) + glog.V(0).Infof("mounted %s%s to %v", *option.filer, mountRoot, dir) + glog.V(0).Infof("This is SeaweedFS version %s %s %s", util.Version(), runtime.GOOS, runtime.GOARCH) server.Serve()