logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


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 1.00a and 1.0.2 available for 2.4
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2767
Location: Hilversum, NL, EU

PostPosted: Fri 17 Feb '12 22:25    Post subject: mod_log_rotate 1.00a and 1.0.2 available for 2.4 Reply with quote

Module mod_log_rotate is now available for 2.4.

What is mod_log_rotate ?

If you host a lot of virtual servers on a single Apache box and use the supplied rotatelogs.exe program to rotate the logs you’ll notice that your process table is cluttered up with an instance of rotatelogs for each virtual server. With mod_log_rotate the log rotation is handled by the server process so you save a bunch of processes and file descriptors.


Steffen


Last edited by Steffen on Mon 17 Jun '19 15:48; edited 1 time in total
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2767
Location: Hilversum, NL, EU

PostPosted: Sun 11 Jun '17 12:04    Post subject: Reply with quote

VC15 added
Back to top
Matysh



Joined: 07 Dec 2017
Posts: 1
Location: Spb

PostPosted: Thu 07 Dec '17 16:28    Post subject: Reply with quote

Why doesn't works rotation for error.log, only for access?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2767
Location: Hilversum, NL, EU

PostPosted: Thu 07 Dec '17 16:33    Post subject: Reply with quote

See www.apachelounge.com/viewtopic.php?p=22488
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 595

PostPosted: Mon 17 Jun '19 14:48    Post subject: Reply with quote

VS16 added
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6676
Location: Germany, Next to Hamburg

PostPosted: Mon 17 Jun '19 15:15    Post subject: Reply with quote

Is the source code still 1.00a? On github there is 1.02
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2767
Location: Hilversum, NL, EU

PostPosted: Mon 17 Jun '19 15:47    Post subject: Reply with quote

Thanks for checking.

Updated to 1.0.2 VS16 from https://github.com/JBlond/mod_log_rotate , saw no important changes.

Did not know you had it on github.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6676
Location: Germany, Next to Hamburg

PostPosted: Mon 17 Jun '19 15:54    Post subject: Reply with quote

Important was the debug option for the old an new log file [1]
So you can see with loglevel debug the
Code:
"New: %lu, old: %lu"

and adding a module signature [2]


[1] https://github.com/JBlond/mod_log_rotate/commit/98ac7c1ea2c3d3683ba5c69e216c8c21761be338
[2] https://github.com/JBlond/mod_log_rotate/commit/9fb6ce508d73fbbbb352d318c1274fcdf0ff79b2
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6676
Location: Germany, Next to Hamburg

PostPosted: Mon 17 Jun '19 15:57    Post subject: Reply with quote

If you have any idea what to add, let me know.
Back to top


Reply to topic   Topic: mod_log_rotate 1.00a and 1.0.2 available for 2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules