How to add the date timestamp to log4j2 logfiles?

前端 未结 5 1939
无人及你
无人及你 2021-02-14 04:03

I want to create day dependent logfiles with log4j2:


<
5条回答
  •  感情败类
    2021-02-14 04:36

    To append the filename with date, replace %d with below format, i was having the same problem and but got by doing so :

    
    

提交回复
热议问题