Enabling logging in Spring

后端 未结 2 1089
无人及你
无人及你 2020-12-29 10:20

We are using RAD 7.5 as IDE and also log4j for logging purpose. we want to enable spring logging.

I tried the following

  • Added org.springframework
2条回答
  •  别那么骄傲
    2020-12-29 10:54

    If you're using log4j2 using the common XML configuration format, add a Logger in your Loggers node:

    
    

    Normally, the appenders used will be the ones attached to the Root entry.

提交回复
热议问题