legacy-knowledge-base
公開されました Jun. 30, 2025

ログの自動ローテーションが機能しない

written-by

István Gergely-Tárnoki

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

問題

  • ウェブサービスを liferaycloud/nginx:1.21.6-5.3.0以上にアップデートしましたが、 自動ログローテーション が有効になっていないようです

環境

  • Liferay LXC-SM

解像度

  • この機能は、ログがデフォルトのボリュームにあることを想定している。 ログを他の場所に保存している場合は、 ボリュームを /var/log/nginxにマウントし直してください。

追加情報

  • Splunk を使用している場合は、共有ボリュームを /var/log/nginxにマウントできることにも注意してください。
did-this-article-resolve-your-issue

legacy-knowledge-base