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: Rotatelogs not functioning |
|
Author |
|
cr1zz
Joined: 16 Oct 2014 Posts: 1 Location: Germany
|
Posted: Thu 16 Oct '14 8:12 Post subject: Rotatelogs not functioning |
|
|
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
|
Posted: Sat 17 Jan '15 23:42 Post subject: |
|
|
You the builtin log rotation from debian /etc/logrotate.d |
|
Back to top |
|
|
|
|
|
|