Skip to content

Commit 89a5d75

Browse files
committed
chore: increase windows host deployment driver log level
1 parent 3a734e9 commit 89a5d75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/mounter/safe_mounter_host_process_windows.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
8686
}
8787

8888
if !valid {
89-
klog.V(4).Infof("RemotePath %s is not valid, removing now", remotePath)
89+
klog.Warningf("RemotePath %s is not valid, removing now", remotePath)
9090
err := smb.RemoveSmbGlobalMapping(remotePath)
9191
if err != nil {
9292
klog.Errorf("RemoveSmbGlobalMapping(%s) failed with %v", remotePath, err)
@@ -97,7 +97,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
9797
}
9898

9999
if !isMapped {
100-
klog.V(4).Infof("Remote %s not mapped. Mapping now!", remotePath)
100+
klog.V(2).Infof("Remote %s not mapped. Mapping now!", remotePath)
101101
username := mountOptions[0]
102102
password := sensitiveMountOptions[0]
103103
err := smb.NewSmbGlobalMapping(remotePath, username, password)
@@ -126,7 +126,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
126126
}
127127

128128
func (mounter *winMounter) SMBUnmount(target string) error {
129-
klog.V(4).Infof("SMBUnmount: local path: %s", target)
129+
klog.V(2).Infof("SMBUnmount: local path: %s", target)
130130
return mounter.Rmdir(target)
131131
}
132132

@@ -142,7 +142,7 @@ func (mounter *winMounter) Rmdir(path string) error {
142142

143143
// Unmount - Removes the directory - equivalent to unmount on Linux.
144144
func (mounter *winMounter) Unmount(target string) error {
145-
klog.V(4).Infof("Unmount: %s", target)
145+
klog.V(2).Infof("Unmount: %s", target)
146146
return mounter.Rmdir(target)
147147
}
148148

0 commit comments

Comments
 (0)