Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25035 - freenet doesn't clean log files; can we add a cron job in ebuild?
Summary: freenet doesn't clean log files; can we add a cron job in ebuild?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 00:18 UTC by Wesley Leggette
Modified: 2004-02-26 16:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wesley Leggette 2003-07-22 00:18:30 UTC
Freenet doesn't clean up it's log file /var/log/freenet.log. For myself, I've
written a simple script (just tail -n 10 /var/log/freenet.log....). Can we
include this kind of thing in the freenet ebuild?

If yes, what's a good default to tail by? 10? 20? 50? 100?

And of course, if I can I'd love to do the work of putting this in the ebuild.
So, how would I do that?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-07-22 00:25:15 UTC
I think the proper way to handle this is for the freenet ebuild to drop
a file in /etc/logrotate.d and have the ebuild RDEPEND on app-admin/logrotate.
Comment 2 Wesley Leggette 2003-07-22 13:12:53 UTC
Didn't know that existed. Well, I'm going to work on that then.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-26 16:31:37 UTC
closing... just use logrotat.