I have a log directory with an unknown number of subdirectories. Each service has its own logs and folders are nested and named based on the application hierarchy. How can I create the logrotate ...
My logrotate file on ubuntu runs daily. I want to make sure its rotating log files in every hour to get no full disk error anymore. So my logrotate file is in the cron.daily folder, is it enough to ...
If there are errors in the postrotate script block, where are they logged in Ubuntu?
I have a log file a service of mine makes that has the filename "Feed1 - 1.stat". logrotate refuses to rotate this file, but only when run via cron. Running logrotate via the shell will rotate the ...
... so I'm trying to rotate logs on amazon cloud auto-scaled server instances every hour. I've created /etc/cron.hourly/logrotate to read: #!/bin/bash test -x /usr/sbin/logrotate || exit 0 ...
How can I monitor what logrotate is doing in Ubuntu? Can the activity of logrotate be monitored?
I am new to sysadmining and have a few questions: Where and how is the logrotate procedure initaited by the system? What time of day are my "daily" rotated logfiles being rotated? Do the prerotate ...
I am getting the following error email every week. It appears to be a problem with either cron, logrotate, or denyhosts. I'm not sure which. Subject: Cron <root@vps> test -x /usr/sbin/anacron ...