Bug 573743 - slim.log logs all session stderr; filesize balloons quickly
Summary: slim.log logs all session stderr; filesize balloons quickly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: slim
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lorenzo Villani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-15 17:08 UTC by Jason Farrell
Modified: 2010-04-13 01:59 UTC (History)
2 users (show)

Fixed In Version: slim-1.3.1-13.fc12
Clone Of:
Environment:
Last Closed: 2010-04-13 01:54:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Farrell 2010-03-15 17:08:19 UTC
/var/log/slim.log is apparently logging *all* stderr from any app spawned by child processes of its bash login parent. Some apps, such as "Miro", output a *lot* of debug info, and this is all now ending up on disk when using slim.

I understand that the slim.log can be disabled entirely in slim.conf, but since it's enabled by default, it should either log *slim-specific* info only, or, a logrotate.d conf should be provided in the package to keep it trim. Or, perhaps there should be two logs: a small slim.log, and an optional verbose slim.debug

Comment 1 Fedora Update System 2010-03-30 08:53:25 UTC
slim-1.3.1-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/slim-1.3.1-12.fc12

Comment 2 Fedora Update System 2010-03-30 08:53:30 UTC
slim-1.3.1-12.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/slim-1.3.1-12.fc11

Comment 3 Fedora Update System 2010-03-30 09:40:15 UTC
slim-1.3.1-13.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc12

Comment 4 Fedora Update System 2010-03-30 09:40:24 UTC
slim-1.3.1-13.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc11

Comment 5 Jason Farrell 2010-03-30 15:27:45 UTC
Thanks for adding the logrotate.d conf; it will help in many cases where the default log grows too quickly. The default logrotate conf still means 4 weeks of rotated logs will be kept however.

Comment 6 Lorenzo Villani 2010-03-30 17:31:18 UTC
The proper way to fix this is to make the change upstream. But upstream is mostly dead and the stack of patches I have is growing too much (and I don't really have the time to maintain a fork).

If changing the rotation to one week is good enough, I'll roll a new update.

Comment 7 Fedora Update System 2010-04-01 01:43:41 UTC
slim-1.3.1-13.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update slim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc11

Comment 8 Fedora Update System 2010-04-01 01:53:08 UTC
slim-1.3.1-13.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update slim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc12

Comment 9 Fedora Update System 2010-04-13 01:54:51 UTC
slim-1.3.1-13.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-04-13 01:59:23 UTC
slim-1.3.1-13.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.