hivemq-community-edition
hivemq-community-edition copied to clipboard
Change logging behaviour when failed to read config file
trafficstars
Problem or use case
When failed to read config file (config.xml) due to various reasons, in ConfigFileReader.setConfigFromXML method, it will use log.debug in catch clause to report exception detail only when logger level is DEBUG. So it's hard for user to find out why loading config file will fail if they are using logger level INFO.
Preferred solution or suggestions
I suggest use log.info or log.warn to show detail.