How to rotate Liferay logs per day

Issue

  • Liferay logs can be configured to rotate each day.

Environment

  • Liferay DXP 7.4

Resolution

  • Liferay logs default configuration is defined to make logs rotate each day.
  • If you have applied a different configuration using How to override Liferay logs configuration you can still use Liferay default configuration as a reference to define rotation per day using the combination of the file name pattern and the TimeBasedTriggeringPolicy /> tag.

Additional Information

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助