aboutsummaryrefslogtreecommitdiff
path: root/pkg/driver/mounter.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-04 00:19:40 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-04 00:19:40 -0700
commit9155a07345eb3bc1fc7c5e288640c085c3256200 (patch)
tree4462123bdd943e56a3bd10788ae4ad1552db5682 /pkg/driver/mounter.go
parentbb16388537732f8464f818e23f87f8d11c323763 (diff)
downloadseaweedfs-csi-driver-9155a07345eb3bc1fc7c5e288640c085c3256200.tar.xz
seaweedfs-csi-driver-9155a07345eb3bc1fc7c5e288640c085c3256200.zip
add logging
Diffstat (limited to 'pkg/driver/mounter.go')
-rw-r--r--pkg/driver/mounter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/driver/mounter.go b/pkg/driver/mounter.go
index 1eaa24f..3906232 100644
--- a/pkg/driver/mounter.go
+++ b/pkg/driver/mounter.go
@@ -25,11 +25,11 @@ func newMounter(bucketName string, filer string) (Mounter, error) {
func fuseMount(path string, command string, args []string) error {
cmd := exec.Command(command, args...)
- glog.V(3).Infof("Mounting fuse with command: %s and args: %s", command, args)
+ glog.V(0).Infof("Mounting fuse with command: %s and args: %s", command, args)
out, err := cmd.CombinedOutput()
if err != nil {
- return fmt.Errorf("Error fuseMount command: %s\nargs: %s\noutput: %s", command, args, out)
+ return fmt.Errorf("Error fuseMount command: %s\nargs: %s\noutput: %s\nerror: %v", command, args, out, err)
}
return waitForMount(path, 10*time.Second)