@@ -86,7 +86,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
86
86
}
87
87
88
88
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 )
90
90
err := smb .RemoveSmbGlobalMapping (remotePath )
91
91
if err != nil {
92
92
klog .Errorf ("RemoveSmbGlobalMapping(%s) failed with %v" , remotePath , err )
@@ -97,7 +97,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
97
97
}
98
98
99
99
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 )
101
101
username := mountOptions [0 ]
102
102
password := sensitiveMountOptions [0 ]
103
103
err := smb .NewSmbGlobalMapping (remotePath , username , password )
@@ -126,7 +126,7 @@ func (mounter *winMounter) SMBMount(source, target, fsType string, mountOptions,
126
126
}
127
127
128
128
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 )
130
130
return mounter .Rmdir (target )
131
131
}
132
132
@@ -142,7 +142,7 @@ func (mounter *winMounter) Rmdir(path string) error {
142
142
143
143
// Unmount - Removes the directory - equivalent to unmount on Linux.
144
144
func (mounter * winMounter ) Unmount (target string ) error {
145
- klog .V (4 ).Infof ("Unmount: %s" , target )
145
+ klog .V (2 ).Infof ("Unmount: %s" , target )
146
146
return mounter .Rmdir (target )
147
147
}
148
148
0 commit comments