apache log rotate
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*apache log rotate [#z9ba32bb]
https://qiita.com/psaxuww/items/709636448603f1f5af7a
/usr/local/etc/newsyslog.conf.d/Apache24.conf
############# https://qiita.com/psaxuww/items/709636448...
# logfilename [owner:group] mode count size ...
#/var/log/nginx/*.log root:wheel 644 7 * ...
#/var/log/httpd/*.log root:wheel 644 7 * ...
########## 2019_01_29
/var/log/httpd-access.log 644 7 * @T00 JC /var/ru...
#/var/log/httpd-error.log 644 12 * @01T06 Z /va...
/var/log/httpd-error.log 640 7 * @T00 JC /var/run...
/var/log/httpd-ssl_request.log 644 7 * @T00 JC /va...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*apache log rotate [#z9ba32bb]
https://qiita.com/psaxuww/items/709636448603f1f5af7a
/usr/local/etc/newsyslog.conf.d/Apache24.conf
############# https://qiita.com/psaxuww/items/709636448...
# logfilename [owner:group] mode count size ...
#/var/log/nginx/*.log root:wheel 644 7 * ...
#/var/log/httpd/*.log root:wheel 644 7 * ...
########## 2019_01_29
/var/log/httpd-access.log 644 7 * @T00 JC /var/ru...
#/var/log/httpd-error.log 644 12 * @01T06 Z /va...
/var/log/httpd-error.log 640 7 * @T00 JC /var/run...
/var/log/httpd-ssl_request.log 644 7 * @T00 JC /va...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: