Setting logback.xml path programmatically

后端 未结 5 1131
我在风中等你
我在风中等你 2020-12-02 13:27

I know I can set the logback.xml path like this:

Specifying the location of the default configuration file as a system property

You may specif

5条回答
  •  时光说笑
    2020-12-02 13:33

    modifying environment variables might not always be feasible. To do it properly see logback manual:

    http://logback.qos.ch/manual/configuration.html#joranDirectly

提交回复
热议问题