move inotify to logging