legacy-knowledge-base
公開されました Sep. 10, 2025

Liferayのログを1日単位で回転させる方法

written-by

Mariano Alvaro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Liferayのログは毎日ローテーションするように設定することができます。

Environment

  • Liferay DXP 7.4

解決策

  • Liferay logsのデフォルト設定は、ログを毎日ローテーションさせるように定義されています。
  • How to override Liferay logs configuration を使って別の設定を適用した場合でも、Liferay のデフォルト設定を参照し、ファイル名パターンと TimeBasedTriggeringPolicy /> タグを組み合わせて、1 日あたりの回転を定義することが可能です。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base