hivemq-community-edition icon indicating copy to clipboard operation
hivemq-community-edition copied to clipboard

Change logging behaviour when failed to read config file

Open Yanwensiyi opened this issue 5 months ago • 0 comments
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.

Yanwensiyi avatar May 31 '25 15:05 Yanwensiyi