(View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide)
[blog] [ML] [todo] [CVS] [bug] [apache log] [swiki log] [statistics] [map] [man] [info] [アンテナ]

logrotate

各種サーバーというものは、ログファイルを生成します。
通常ログファイルは単一のファイルであり、ログ情報はそのファイルにアペンド
されていくので、ログファイルは肥大化の一途をたどります。

Linuxではログファイルをlogrotateで処理するのが一般的です。

logrotateは、ログファイルを定期的に圧縮、ローテーション、削除、メール送信する
ツールです。

デフォルトでは、/var/lib/logrotate.statusの設定ファイルを読み込みログの処理
を行います。

詳細は、man logrotateで。

-----------



-----------

Link to this Page