Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128119 - logrotate configuration hint into handbook
Summary: logrotate configuration hint into handbook
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 09:05 UTC by Roman Polach
Modified: 2006-04-09 17:01 UTC (History)
0 users

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 Roman Polach 2006-03-30 09:05:21 UTC
There is this sentence in the handbook now:

"If you plan on using sysklogd or syslog-ng you might want to install logrotate afterwards as those system loggers don't provide any rotation mechanism for the log files."

But there is very little information about installing logrotate,
which is very often the choice. Users should be informed that
in contrast to sysklogd or syslog-ng (which need to be rc-updated
after emerging) there is nothing to must be configured in addition
to "emerge logrotate", because there will be /etc/cron.daily/logrotate
automatically created and used after emerging a cron daemon...
Comment 1 nm (RETIRED) gentoo-dev 2006-04-09 17:01:21 UTC
(In reply to comment #0)
> But there is very little information about installing logrotate,
> which is very often the choice. Users should be informed that
> in contrast to sysklogd or syslog-ng (which need to be rc-updated
> after emerging) there is nothing to must be configured in addition
> to "emerge logrotate", because there will be /etc/cron.daily/logrotate
> automatically created and used after emerging a cron daemon...

Installation on Gentoo is pretty obvious: "emerge foo", in this case "emerge logrotate". And if there's  no further configuration needed (since as you said, cron.daily is automatically created), then why should anything else be added to the documentation?

The logrotate ebuild has some einfo after you emerge it that point you to its configuration file for any optional changes you may want to make.

I use logrotate, and the only change I made was to move my portage logs to some special directory elsewhere. Otherwise, everything was handled automatically as you said. And if users are curious about what else it can do, well, the ebuild tells them where to find the config. :)