Skip to content

Commit 153cc7d

Browse files
committed
Add log in epoll
Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
1 parent 1ffc5d9 commit 153cc7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/epoll/epoll.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import (
2020
"errors"
2121
"os"
2222
"syscall"
23+
24+
"k8s.io/klog"
2325
)
2426

2527
const (
@@ -189,6 +191,7 @@ func (e *Epoll) dispatchEvent(ev *syscall.EpollEvent) {
189191
if !ok {
190192
return
191193
}
194+
klog.V(4).Infof("epoll event for file %s dispatched", w.FileName)
192195

193196
e.eventChan <- Event{
194197
fileName: w.FileName,

0 commit comments

Comments
 (0)