Translated message

A translation of this page exists in English.

logrotate と rotatelogs を使用して Apache HTTPD のログをローテーションするにはどうすればよいですか?

Solution Verified - Updated -

Issue

  • Apache ログをローテーションする方法として、rotatelogs (Apache に組み込まれているもの) や logrotate (Linux) があります。どの方法を使用すればよいですか?
  • logrotate によって Apache が停止したり、エンドユーザーに問題が発生したりすることはありますか?
  • access.log をサイズベースでローテーションするにはどうすればよいですか?
  • アクセスログのローテーションを実現するにはどうすればよいですか?
  • EWS ログを自動ローテーションするにはどうすればよいですか?

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Core Services (JBCS)
  • Apache Web Server (httpd)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content