Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
logrotate question
  • From: Till Wimmer <suse-e@xxxxxxxxxxxx>
  • Date: Fri, 28 Apr 2006 06:08:57 +0200
  • Message-id: <44519559.7090300@xxxxxxxxxxxx>

I want my apache log files to be rotated when they're bigger then 50M and ONLY when they're bigger.

But my /etc/logrotate.conf says:
# rotate log files weekly

I added a file /etc/logrotate.d/apache:
/var/log/apache2/*.log {

What's gonna happen? Are the files rotated even when they're smaller than 50M?
Do i have to change the global options and thus all other configurations in /etc/logrotate.d?


< Previous Next >