messages, syslog and kern.log don't get rotated.

Bug #483526 reported by Siep Kroonenberg on 2009-11-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: rsyslog

Release: Karmic
Package version: 4.2.0-2ubuntu5
What I expected: at least weekly rotation of these logs
What I found: last rotation more than 2 weeks ago.

I upgraded to Karmic around 30 october. The last `old' versions of these logs are from 30 october and before, whereas before that time they were rotated at least weekly. The current versions of the logs have sizes ranging from 2 to 3 MB. A command `logrotate /etc/logrotate.d/rsyslog' has no effect.

Simon IJskes (sim-nyx) wrote :

as a workaround, try:

logrotate -f /etc/logrotate.d/rsyslog

this rotated my logfiles, but i had to manually restart rsyslog in order to have it open a new /var/log/syslog

Simon IJskes (sim-nyx) on 2009-11-24
Changed in rsyslog (Ubuntu):
status: New → Confirmed
Simon IJskes (sim-nyx) wrote :

logrotate rotates the /var/log/syslog file, and does not create a new one.
rsyslog gets a kill -HUP, but is then unable to create a new /var/log/syslog

Simon IJskes (sim-nyx) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers