-
Notifications
You must be signed in to change notification settings - Fork 0
junamai2000/mod_log_rotate_subdir
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
mod_log_rotate_subdir is modified version of mod_log_rotate that enables to create sub directory. httpd.conf LoadModule log_rotate_module modules/mod_log_rotate.so RotateLogs On RotateLogsLocalTime On CustomLog "/var/log/httpd/site/%Y/%m/access.log.%d" RotateLogsHardLink "/var/log/httpd/site/%Y/%m/access.log.%d" "/var/log/httpd/site/access.current.log" LogFormat "{\"date\": \"%t\", \"tm\": \"%{%s}t\", \"apache\": {\"client\": \"%a\", \"server\": \"%A\", \"duration\": %T.%D, \"request\":\"%r\",\"status\": %s, \"byte\": %b, \"path\": \"%U%q\", \"method\": \"%m\", \"referrer\": \"%{Referer}i\", \"ua\": \"%{User-Agent}i\"}, \"cookie\":{}, \"tracking\": %{tracking}j, \"application\": %{application}J }" apache_json
About
modified mod_log_rotate to create sub directory
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published