better logging text in resourceWatcher