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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: Rotatelogs not functioning
Author
cr1zz



Joined: 16 Oct 2014
Posts: 1
Location: Germany

PostPosted: Thu 16 Oct '14 8:12    Post subject: Rotatelogs not functioning Reply with quote

Hey all,

My system:
Debian
Apache 2.22

I'm trying to rotate my logs with rotatelogs. The format in the logfile works but the rotation is not working.

Part of the apache2.conf

Code:
<IfModule log_config_module>

     LogFormat "%h %t %m %U %q %>s %B \"%{Referer}i\"" custom

     CustomLog "|/usr/sbin/rotatelogs /var/log/apache2/access_log 60" custom

</IfModule>


Any mistakes here?

Thank you in advance.
Back to top
James Blond
Moderator


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

PostPosted: Sat 17 Jan '15 23:42    Post subject: Reply with quote

You the builtin log rotation from debian /etc/logrotate.d
Back to top


Reply to topic   Topic: Rotatelogs not functioning View previous topic :: View next topic
Post new topic   Forum Index -> Apache