code analysis - event hander on category watcher
fix logging configuration