Skip to content

Commit

Permalink
add mount log (#4101)
Browse files Browse the repository at this point in the history
* filer.backup use replication.source.filer

* add mount log

* Revert "filer.backup use replication.source.filer"

This reverts commit 07bf6f9.

* fix

Co-authored-by: zemul <zhouzemiao@ihuman.com>
  • Loading branch information
zemul and zemul committed Jan 3, 2023
1 parent 48f2edc commit 6b4c033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weed/command/mount_std.go
Expand Up @@ -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()

Expand Down

0 comments on commit 6b4c033

Please sign in to comment.