improve dynamic config support for DruidDataSourceStatLogger