Re: [gentoo-user] logfile size

2003-12-14 Thread rd
Exactly!  I run apache, postfix, and many other server jobs that do not
use metalog, so I too have logrotate installed.  Perhaps not a
requirement for a desktop only install.

-rdg/TacticalJack


On Sun, 2003-12-14 at 07:41, Dennis Freise wrote:
> On Sun, 14 Dec 2003 00:10:36 -0800
> Keith Dart <[EMAIL PROTECTED]> wrote:
> 
> > > I find it interesting that logrotate is not included in the basic gentoo
> > > install (at least at 1.3 I did not get it).  Seems like a must have to
> > > me!
> > 
> > I think logrotate is a Red Hat thing. However, you can choose to install
> > metalog which does log rotation all on its own. 
> 
> logrotate originates from Red Hat, but many distros these days have it. I don't
> think it's mandatory, because you don't have to log anything at all (well, maybe
> that's not what we want *g*). Typing "emerge logrotate" doesn't seem to much
> work for me. metalog does a good job at rotating, but not all programs log via
> syslog (exim for example does its own logging, squid, apache...). I have
> metalog and logrotate installed.
-- 
It is vital to remember that information is not knowledge; that
knowledge is not wisdom; and that wisdom is not foresight.
  - Arthur C Clarke


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logfile size

2003-12-14 Thread Dennis Freise
On Sun, 14 Dec 2003 00:10:36 -0800
Keith Dart <[EMAIL PROTECTED]> wrote:

> > I find it interesting that logrotate is not included in the basic gentoo
> > install (at least at 1.3 I did not get it).  Seems like a must have to
> > me!
> 
> I think logrotate is a Red Hat thing. However, you can choose to install
> metalog which does log rotation all on its own. 

logrotate originates from Red Hat, but many distros these days have it. I don't
think it's mandatory, because you don't have to log anything at all (well, maybe
that's not what we want *g*). Typing "emerge logrotate" doesn't seem to much
work for me. metalog does a good job at rotating, but not all programs log via
syslog (exim for example does its own logging, squid, apache...). I have
metalog and logrotate installed.

-- 
Dennis Freise <[EMAIL PROTECTED]>
GnuPG key fingerprint: 2DE8 CCEF 6E20 11D4 3B27  21EC B0BA 1749 D2C8 38ED
Get my public key at : http://www.final-frontier.ath.cx/gpg_public_key.txt


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] logfile size

2003-12-14 Thread Keith Dart
On Sat, 2003-12-13 at 22:29, rd wrote:
> I find it interesting that logrotate is not included in the basic gentoo
> install (at least at 1.3 I did not get it).  Seems like a must have to
> me!

I think logrotate is a Red Hat thing. However, you can choose to install
metalog which does log rotation all on its own. 

-- 
-- - 
Keith Dart

  

Public key ID: B08B9D2C Public key: 



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] logfile size

2003-12-13 Thread rd
I find it interesting that logrotate is not included in the basic gentoo
install (at least at 1.3 I did not get it).  Seems like a must have to
me!

-rdg/TacticalJack


On Fri, 2003-12-12 at 09:36, Dennis Freise wrote:
> On Fri, 12 Dec 2003 15:25:16 +0100
> Helgi Örn Helgason <[EMAIL PROTECTED]> wrote:
> 
> > I got syslogd installed but I've never tweaked anything having to do
> > with logfiles so I haven't got a clue where to start. Guess I'll have to
> > RTFM...:-)
> 
> Take a look at logrotate. That's what you are looking for, because the standard
> syslogd does not rotate logfiles... you still have to RTFM of logrotate
> though... ;)
-- 
It is vital to remember that information is not knowledge; that
knowledge is not wisdom; and that wisdom is not foresight.
  - Arthur C Clarke


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logfile size

2003-12-13 Thread Vanh Phom
Since we're talking about syslogd. Does anyone know how to set it up so
that all of boot up and shutdown messages that show up on screen get
log?

Vanh


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logfile size

2003-12-13 Thread Helgi Örn Helgason
On 2003-12-12, Marshal Newrock wrote:
> 
> I think syslogd has its own log rotation program (for syslog log files).
Apparently it doesn't according to Dennis Freise.

> For everything else, or if, like me, you use syslog-ng, there is
> logrotate.
> 
I've got syslogd, not syslog-ng. I've installed logrotate now and am
trying to figure out how to apply it on ~/ log files?

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 ~ Kernel 2.4.20-gentoo-r9 ~ KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] logfile size

2003-12-13 Thread Helgi Örn Helgason
On 2003-12-12, Dennis Freise wrote:
> 
> Take a look at logrotate. That's what you are looking for, because the standard
> syslogd does not rotate logfiles... you still have to RTFM of logrotate
> though... ;)
> 
Thank's, you are right, this is just what I needed. I've RTFM and now
I'm installing...:-)

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 ~ Kernel 2.4.20-gentoo-r9 ~ KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] logfile size

2003-12-12 Thread Marshal Newrock
On Fri, 12 Dec 2003, Helgi [iso-8859-1] Örn Helgason wrote:

> I got syslogd installed but I've never tweaked anything having to do
> with logfiles so I haven't got a clue where to start. Guess I'll have to
> RTFM...:-)

I think syslogd has its own log rotation program (for syslog log files).
For everything else, or if, like me, you use syslog-ng, there is
logrotate.

-- 
CAUTION: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] logfile size

2003-12-12 Thread Dennis Freise
On Fri, 12 Dec 2003 15:25:16 +0100
Helgi Örn Helgason <[EMAIL PROTECTED]> wrote:

> I got syslogd installed but I've never tweaked anything having to do
> with logfiles so I haven't got a clue where to start. Guess I'll have to
> RTFM...:-)

Take a look at logrotate. That's what you are looking for, because the standard
syslogd does not rotate logfiles... you still have to RTFM of logrotate
though... ;)

-- 
Dennis Freise <[EMAIL PROTECTED]>
GnuPG key fingerprint: 2DE8 CCEF 6E20 11D4 3B27  21EC B0BA 1749 D2C8 38ED
Get my public key at : http://www.final-frontier.ath.cx/gpg_public_key.txt


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] logfile size

2003-12-12 Thread Helgi Örn Helgason
On 2003-12-12, David Gethings wrote:
> As a general rule that should be done by your log daemon. I use metalog
> log size and history is set in /etc/metalog/metalog.conf. e.g.:
> 
> maxsize  = 10
> maxtime  = 86400
> maxfiles = 5
> 
> Whatever you use as your logging daemon should have this capability too.
> 
I got syslogd installed but I've never tweaked anything having to do
with logfiles so I haven't got a clue where to start. Guess I'll have to
RTFM...:-)

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 ~ Kernel 2.4.20-gentoo-r9 ~ KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] logfile size

2003-12-12 Thread David Gethings
On Fri, 2003-12-12 at 13:39, Helgi Örn Helgason wrote:
> Is there a way to reduce the sizes of logfiles? For example my fetchmail
> logfile weighs around 50+ MB now.
> Lets say I would like to limit  some logfiles to only keep the logs 30
> days, how would I do that?
> In .fetchmailrc for example?
As a general rule that should be done by your log daemon. I use metalog
log size and history is set in /etc/metalog/metalog.conf. e.g.:

maxsize  = 10
maxtime  = 86400
maxfiles = 5

Whatever you use as your logging daemon should have this capability too.

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



[gentoo-user] logfile size

2003-12-12 Thread Helgi Örn Helgason
Is there a way to reduce the sizes of logfiles? For example my fetchmail
logfile weighs around 50+ MB now.
Lets say I would like to limit  some logfiles to only keep the logs 30
days, how would I do that?
In .fetchmailrc for example?

Cheers,
/HÖ

-- 
/// Helgi Örn Helgason, Registered GNU/Linux User: #189958 \\\
\\\ ~~ Gentoo 1.4 ~ Kernel 2.4.20-gentoo-r9 ~ KDE 3.1.4 ~~ ///


pgp0.pgp
Description: PGP signature