* [gentoo-dev] log rotation
@ 2002-10-02 17:12 Toby Dickenson
2002-10-02 18:34 ` Christopher J. PeBenito
2002-10-02 19:51 ` Mike Frysinger
0 siblings, 2 replies; 9+ messages in thread
From: Toby Dickenson @ 2002-10-02 17:12 UTC (permalink / raw
To: gentoo-dev; +Cc: Toby Dickenson
Some gentoo packages come with log rotation scripts (sysklogd) and others do
not (squid, wtmp, kdm). Is there a gentoo policy on whether packages should
rotate their own logs?
Would patches to add rotation scripts to existing packages be accepted?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 17:12 [gentoo-dev] log rotation Toby Dickenson
@ 2002-10-02 18:34 ` Christopher J. PeBenito
2002-10-02 18:46 ` Toby Dickenson
` (2 more replies)
2002-10-02 19:51 ` Mike Frysinger
1 sibling, 3 replies; 9+ messages in thread
From: Christopher J. PeBenito @ 2002-10-02 18:34 UTC (permalink / raw
To: tdickenson; +Cc: gentoo-dev, Toby Dickenson
Why not just use app-admin/logrotate? I use metalog, and then logrotate
to rotate everything else.
Chris
On Wed, 2002-10-02 at 12:12, Toby Dickenson wrote:
> Some gentoo packages come with log rotation scripts (sysklogd) and others do
> not (squid, wtmp, kdm). Is there a gentoo policy on whether packages should
> rotate their own logs?
>
> Would patches to add rotation scripts to existing packages be accepted?
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
--
Chris PeBenito
<pebenito@ieee.org>
AIM: PeBenito78
ICQ#: 10434387
"Engineering does not require science. Science helps
a lot, but people built perfectly good brick walls
long before they knew why cement works."-Alan Cox
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 18:34 ` Christopher J. PeBenito
@ 2002-10-02 18:46 ` Toby Dickenson
2002-10-02 19:17 ` Paul de Vrieze
2002-10-02 19:32 ` Toby Dickenson
2 siblings, 0 replies; 9+ messages in thread
From: Toby Dickenson @ 2002-10-02 18:46 UTC (permalink / raw
To: Christopher J. PeBenito; +Cc: gentoo-dev, Toby Dickenson
On Wednesday 02 Oct 2002 7:34 pm, Christopher J. PeBenito wrote:
> Why not just use app-admin/logrotate?
Ive used logrotate and /usr/bin/savelog (from sys-apps/debianutils), and have
no strong preference either way.
> I use metalog, and then logrotate
> to rotate everything else.
But you had to write the logrotate.conf entries yourself, right? Shouldnt
'everything else' take care of rotating its own logs?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 18:34 ` Christopher J. PeBenito
2002-10-02 18:46 ` Toby Dickenson
@ 2002-10-02 19:17 ` Paul de Vrieze
2002-10-03 6:31 ` Toby Dickenson
2002-10-02 19:32 ` Toby Dickenson
2 siblings, 1 reply; 9+ messages in thread
From: Paul de Vrieze @ 2002-10-02 19:17 UTC (permalink / raw
To: gentoo-dev
On Wednesday 02 October 2002 20:34, Christopher J. PeBenito wrote:
> Why not just use app-admin/logrotate? I use metalog, and then logrotate
> to rotate everything else.
>
Logrotate still needs a script to rotate those logs. It would be handy if
those scripts were installed along the package (preferably made inactive
though, possibly by removing read rights)
Paul
--
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
@ 2002-10-02 19:27 Paul de Vrieze
0 siblings, 0 replies; 9+ messages in thread
From: Paul de Vrieze @ 2002-10-02 19:27 UTC (permalink / raw
To: gentoo-dev
On Wednesday 02 October 2002 20:34, Christopher J. PeBenito wrote:
> Why not just use app-admin/logrotate? I use metalog, and then logrotate
> to rotate everything else.
Logrotate still needs a script to rotate those logs. It would be handy if
those scripts were installed along the package (preferably made inactive
though, possibly by removing read rights)
Paul
--
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 18:34 ` Christopher J. PeBenito
2002-10-02 18:46 ` Toby Dickenson
2002-10-02 19:17 ` Paul de Vrieze
@ 2002-10-02 19:32 ` Toby Dickenson
2 siblings, 0 replies; 9+ messages in thread
From: Toby Dickenson @ 2002-10-02 19:32 UTC (permalink / raw
To: gentoo-dev
(repost. waaah - closed lists suck)
On Wednesday 02 Oct 2002 7:34 pm, Christopher J. PeBenito wrote:
> Why not just use app-admin/logrotate?
Ive used logrotate and /usr/bin/savelog (from sys-apps/debianutils), and have
no strong preference either way.
> I use metalog, and then logrotate
> to rotate everything else.
But you had to write the logrotate.conf entries yourself, right? Shouldnt
'everything else' take care of rotating its own logs?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 17:12 [gentoo-dev] log rotation Toby Dickenson
2002-10-02 18:34 ` Christopher J. PeBenito
@ 2002-10-02 19:51 ` Mike Frysinger
1 sibling, 0 replies; 9+ messages in thread
From: Mike Frysinger @ 2002-10-02 19:51 UTC (permalink / raw
To: gentoo-dev
we leave log rotation as an exercise for the user ...
root@vapier root # emerge -s logrotate
Searching...
[ Results for search key : logrotate ]
[ Applications found : 1 ]
* app-admin/logrotate
Latest version available: 3.5.9-r1
Latest version installed: [ Not Installed ]
Homepage: http://packages.debian.org/unstable/admin/logrotate.html
Description: Rotates, compresses, and mails system logs
-mike
On Wednesday 02 October 2002 01:12 pm, Toby Dickenson wrote:
> Some gentoo packages come with log rotation scripts (sysklogd) and others
> do not (squid, wtmp, kdm). Is there a gentoo policy on whether packages
> should rotate their own logs?
>
> Would patches to add rotation scripts to existing packages be accepted?
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-02 19:17 ` Paul de Vrieze
@ 2002-10-03 6:31 ` Toby Dickenson
2002-10-03 9:13 ` Paul de Vrieze
0 siblings, 1 reply; 9+ messages in thread
From: Toby Dickenson @ 2002-10-03 6:31 UTC (permalink / raw
To: Paul de Vrieze, gentoo-dev
On Wednesday 02 Oct 2002 8:17 pm, Paul de Vrieze wrote:
> On Wednesday 02 October 2002 20:34, Christopher J. PeBenito wrote:
> > Why not just use app-admin/logrotate? I use metalog, and then logrotate
> > to rotate everything else.
>
> Logrotate still needs a script to rotate those logs. It would be handy if
> those scripts were installed along the package (preferably made inactive
> though, possibly by removing read rights)
An autologrotation use flag?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] log rotation
2002-10-03 6:31 ` Toby Dickenson
@ 2002-10-03 9:13 ` Paul de Vrieze
0 siblings, 0 replies; 9+ messages in thread
From: Paul de Vrieze @ 2002-10-03 9:13 UTC (permalink / raw
To: gentoo-dev
On Thursday 03 October 2002 08:31, Toby Dickenson wrote:
> On Wednesday 02 Oct 2002 8:17 pm, Paul de Vrieze wrote:
> > On Wednesday 02 October 2002 20:34, Christopher J. PeBenito wrote:
> > > Why not just use app-admin/logrotate? I use metalog, and then
> > > logrotate to rotate everything else.
> >
> > Logrotate still needs a script to rotate those logs. It would be handy if
> > those scripts were installed along the package (preferably made inactive
> > though, possibly by removing read rights)
>
> An autologrotation use flag?
That could be a way to have optional installation of log rotating scripts. The
problem with automatically installed rotation scripts is that logrotation is
sensitive and should be done with the users' concent
Paul
--
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-10-03 9:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 17:12 [gentoo-dev] log rotation Toby Dickenson
2002-10-02 18:34 ` Christopher J. PeBenito
2002-10-02 18:46 ` Toby Dickenson
2002-10-02 19:17 ` Paul de Vrieze
2002-10-03 6:31 ` Toby Dickenson
2002-10-03 9:13 ` Paul de Vrieze
2002-10-02 19:32 ` Toby Dickenson
2002-10-02 19:51 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2002-10-02 19:27 Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox