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
- Liferay default configuration: portal-log4j.xml
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In