Skip to content

Change logging behaviour when failed to read config file #581

@Yanwensiyi

Description

@Yanwensiyi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions