Re: /var/log cleanout

1998-08-26 Thread Martin Schulze
Mark Panzer wrote:
 Are system maintainers (su's) supposed to clean out the /var/log
 directory after a while?  Mine is up to 15MB and I don't think I really
 need to see if I connected to the internet on June 2nd.  Also is there a
 program which cleans this for you, or what is the correct way?  Thanks.

Normally this should be done by the system itself.  Please check out the
scripts in /etc/cron.{daily,weekly,monthly}.  They contain several
savelog entries.

If you find spurious logfiles that aren't connected to a package
anymore, report it as a bug.  Logfiles are ought to be removed within
the postinst if a package got --purge'd.

Regards,

Joey

-- 
A mathematician is a machine for converting coffee into theorems.


Re: /var/log cleanout

1998-08-26 Thread Michael Beattie
On Tue, 25 Aug 1998, Mark Panzer wrote:

 Are system maintainers (su's) supposed to clean out the /var/log
 directory after a while?  Mine is up to 15MB and I don't think I really
 need to see if I connected to the internet on June 2nd.  Also is there a
 program which cleans this for you, or what is the correct way?  Thanks.

Your logfiles are getting rotated arent they? Is your box on 24/7? if not,
then It's probably not catching the 6:45am-ish cron job. try installing
anacron if that is the case.

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with pgpkey as subject.
 -
  WinErr: 00D Keyboard locked - Try anything you can think of.
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: /var/log cleanout

1998-08-26 Thread Torsten Hilbrich
On: Tue, 25 Aug 1998 13:14:14 -0500 Mark Panzer writes:
 
 Are system maintainers (su's) supposed to clean out the /var/log
 directory after a while?  Mine is up to 15MB and I don't think I
 really need to see if I connected to the internet on June 2nd.  Also
 is there a program which cleans this for you, or what is the correct
 way?  Thanks.

This is the job of the cron jobs in /etc/cron.{daily,weekly,monthly}.
In these periods the logs are rotated (or rather shifted) with older
versions being compressed to save space (you probably have noticed it,
messages, messages.0, messages.1.gz, ...).  15 MB seems to be okay, I
have 13 MB on a standalone system.

If you really want to throw away more file, edit the
/etc/cron.daily/syslogk (and maybe some others) and change the savelog
line to use another value as parameter to the -c option (I have 7
configured in my files).

Read savelog(8) for more information on this program.  Adjusting the
cron files is safe as they are (to be) considered as configuration
files which will be preserved by package updates.

Torsten


/var/log cleanout

1998-08-25 Thread Mark Panzer
Are system maintainers (su's) supposed to clean out the /var/log
directory after a while?  Mine is up to 15MB and I don't think I really
need to see if I connected to the internet on June 2nd.  Also is there a
program which cleans this for you, or what is the correct way?  Thanks.

Mark Panzer