Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_log_rotate.so log partition generated |
|
Author |
|
bqlxz88
Joined: 01 Mar 2012 Posts: 2
|
Posted: Thu 01 Mar '12 8:53 Post subject: mod_log_rotate.so log partition generated |
|
|
I used this mod_log_rotate module, and configured in accordance with the requirements:
# Add to your the httpd.conf
LoadModule log_rotate_module modules / mod_log_rotate.so
# Directives provided by mod_log_rotate
You can specify a strftime () format string as the log file name.
So you can do something like
A CustomLog logs /, access_log% Y% m% d-% H% M% S common
and have log files named with a human readable date and time.
RotateLogs On
RotateLogsLocalTime On
RotateInterval 86400
But the error.log how to configure.
errorLog logs / error_log.% Y% m% d-% H% M% S
Configuration error_log date can not be converted, would like to ask how to set up. |
|
Back to top |
|
bqlxz88
Joined: 01 Mar 2012 Posts: 2
|
Posted: Thu 01 Mar '12 11:22 Post subject: |
|
|
More anxious, and who knows, help me look, thank you |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|