-
as seen on Server Fault
- Search for 'Server Fault'
Hi. I have a problem with nginx/logrotate. The problems is that nginx is logging access to 2 files (main and data).
I have the following contrab setting:
0 * * * * /usr/sbin/logrotate -f /home/orwell/orwell-setup/bin/logrotate-nginx
And the file "logrotate-nginx" has the following content:
/tmp/data…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have an ubuntu 8.04 LTS server that runs openvpn. The openvpn server writes to a standard logfile under /var/log and prior to a month ago logrotate would automatically rotate the files and compress them.
The files are still being rotated however the new logfile (ovpn.log) is empty. Restarting…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello,
I have the following configuration of logrotate:
/var/log/test/app.log {
missingok
notifempty
compress
copytruncate
daily
rotate 4
}
The application generating the log is a Java application.
2
I set up this configuration yesterday before midnight…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi!
If I have one website and I want to rotate its logs, there's one instance of logrotate that is launched.
There are as many logrotate instances launched as they are virtual websites.
Here you can find mod_log_rotate, with a 1.3 version and (only) 2.0 version:
http://www.hexten.net/wiki/index…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am trying to get logrotate running on a FreeBSD 8.1 virtual machine. I installed the logrotate with pkg_add, I have created the logrotate.config file and also run:
mkdir /var/lib/
touch /var/lib/logrotate.status
Now when I do:
/usr/local/sbin/logrotate -d /usr/local/etc/logrotate.conf
I get…
>>> More