Allow polling interval to be set in top-level config
remove unused code
Call appropriate log level