logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_log_rotate.so log partition generated
Author
bqlxz88



Joined: 01 Mar 2012
Posts: 2

PostPosted: Thu 01 Mar '12 8:53    Post subject: mod_log_rotate.so log partition generated Reply with quote

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

PostPosted: Thu 01 Mar '12 11:22    Post subject: Reply with quote

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

PostPosted: Thu 01 Mar '12 15:45    Post subject: Reply with quote

mod_log_rotate can't handle the error log. Sad but true. But you can use rotatelogs.exe to do that.

http://httpd.apache.org/docs/2.2/programs/rotatelogs.html
Back to top


Reply to topic   Topic: mod_log_rotate.so log partition generated View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules