FS#8015 - Slim log file never rotates.

Attached to Project: Arch Linux
Opened by ezzetabi (ezzetabi) - Friday, 14 September 2007, 07:26 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 27 September 2007, 23:07 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Slim package does not create a logrotate entry. So every X boot its log file /var/log/slim.log becomes larger and larger.

Additional info:
extra/slim 1.3.0-1 `Simple Login Manager for X11'

Steps to reproduce:
Start X and check the slim.log size, repeat.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Thursday, 27 September 2007, 23:07 GMT
Reason for closing:  Implemented
Additional comments about closing:  In 1.3.0-2
Comment by ezzetabi (ezzetabi) - Friday, 14 September 2007, 15:01 GMT
A reasonable logrotate entry may be:

/etc/logrotate.d/slim
/var/log/slim.log {
compress
rotate 1
size=+1024k
notifempty
missingok
copytruncate
noolddir
}
Comment by Aaron Griffin (phrakture) - Friday, 14 September 2007, 17:36 GMT
Done locally, waiting for the core repo things to be done for commit and push to extra.

Thanks for the file!
Comment by Matthias Koplenig (mak) - Thursday, 27 September 2007, 22:50 GMT
severity of this bug should be increased...
because if the log reaches 2gb, slim doesn't start anymore.

slim reports something like > file limit exceeded! <

Loading...