aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzemul <zemul@foxmail.com>2023-01-03 16:00:45 +0800
committerGitHub <noreply@github.com>2023-01-03 00:00:45 -0800
commit6b4c0334311e06084723c5984afea3624c8235f1 (patch)
treee7329dd554584c6a603d314f19f0ad517cff032f
parent48f2edc06503d9a915fe8eb4cecbfc83f1467ce9 (diff)
downloadseaweedfs-6b4c0334311e06084723c5984afea3624c8235f1.tar.xz
seaweedfs-6b4c0334311e06084723c5984afea3624c8235f1.zip
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 <zhouzemiao@ihuman.com>
-rw-r--r--weed/command/mount_std.go3
1 files changed, 2 insertions, 1 deletions
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()