Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is logrotate set up by default on Ubuntu 12.04 LTS?

Or do I need to configure it? I can see /etc/cron.daily/logrotate so I guess it should be working out of the box?

Is it rotating all files inside /var/log?

share|improve this question

closed as off-topic by Dennis Kaarsemaker, Jenny D, ewwhite, Falcon Momot, Sven Dec 26 '13 at 17:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Dennis Kaarsemaker, Jenny D, ewwhite, Sven
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

Yes it is installed.

Default configuration is in /etc/logrotate.conf.

Application-specific is kept in /etc/logrotate.d

You can check status what currently get rotated with command:

cat /var/lib/logrotate/status 
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.