enhancements for logging file name and polling frequency