Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 17:23:44 -0500 (CDT)
From:      Jason Nugent <malhavoc@stomped.com>
To:        Jason Prosser <jprosser@teraglobal.com>
Cc:        Ryan Masse <mail@max-info.net>, FreeBSD-Questions <questions@FreeBSD.ORG>
Subject:   Re: Stupid log file problems...
Message-ID:  <Pine.BSF.4.33.0107021722320.29423-100000@smithers.stomped.com>
In-Reply-To: <B766386D.19A1%jprosser@teraglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

You might also want to try building logrotate from the ports collection
(/usr/ports/sysutils/logrotate).  You can set it up to look after a large
number of different log files.  I use it on a few machines and it works
just great.

HTH,

Jason

On Mon, 2 Jul 2001 at 5:22pm, Jason Prosser thought about

> on 7/2/01 2:12 PM, Ryan Masse at mail@max-info.net wrote:
>
> > you may want to try;
> >
> > 1. delete, move, copy, gzip whatever /var/log/security
> > 2. touch /var/log/security          < creates a new empty file in that
> > location
> > 3. killall -HUP syslogd             < restarts syslog
> > 4. ipfw resetlog                        < resets and restarts the ipfw
> > logging
> >
> > that should work..
> >
> > Ryan
>
> Thank you...
>
> Worked like a charm.
>
> jp
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>

----------------------
Jason Nugent
Aka MalHavoc
Server Programmer and Administrator

S  T  O  M  P  E  D  .  C  O  M

For PGP public key:  http://malhavoc.stomped.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0107021722320.29423-100000>