NETWORK PRESENCE ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT
 


Search
display results
words begin  exact words  any words part 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [FW1] Solaris log rotation script



A few things you can do:

1.  You can delete the logs after x number of days. 
You can do something like this:

find $FWDIR/log -name *log* -d +x 

x=number of days that a file has not been modified.

2.  Export the logs to text format and import into
some database (i.e., oracle).

HTH

Yim

--- Christopher Doane <[email protected]> wrote:
> 
> 
> Thank you for the response - I am running "fw
> logswitch", the issue I have
> is what to do with all the old logs generated by the
> nightly cron job that
> runs this command.  Has anyone created a script for
> managing these old logs
> so they don't over run /var space?
> 
> Thanks again,
> Chris Doane
> 
> -----Original Message-----
> From: Aylton Souza, CISSP
> [mailto:[email protected]]
> Sent: Saturday, April 21, 2001 9:13 AM
> To: Christopher Doane;
> [email protected]
> Subject: Re: [FW1] Solaris log rotation script
> 
> 
> fw logswitch is probably what you're looking for.
> 
> It creates a new log file and saves the old one with
> the date and time it
> was 'rotated' along with its name.
> 
> You may add that to cron (or at under NT) in order
> to run it every day, week
> or month, depending on the severity of your log
> rules.
> 
> Best wishes
> 
> Aylton
> ----- Original Message -----
> From: "Christopher Doane" <[email protected]>
> To: <[email protected]>
> Sent: Friday, April 20, 2001 6:04 PM
> Subject: [FW1] Solaris log rotation script
> 
> 
> >
> >
> > I'm sure this question has been asked before, but
> I haven't
> > been able to come across a solution in any of the
> Checkpoint
> > support Web pages:  Is there a ready-made script
> available
> > for handling log archiving for the Unix versions
> of the
> > Checkpoint product?  Or is there built-in utility
> for archiving
> > that I'm unaware of?  The /var partition on our
> server is
> > filling up rapidly, I'd rather not have to rely on
> manually
> > deleting old logs.
> >
> > Many thanks for any help with this matter.
> >
> > Chris Doane
> > Scientific Learning Corporation
> >
> >
> >
>
============================================================================
> ====
> >      To unsubscribe from this mailing list, please
> see the instructions at
> >               
> http://www.checkpoint.com/services/mailing.html
> >
>
============================================================================
> ====
> >
> >
> 
> 
> 
> 
>
================================================================================
>      To unsubscribe from this mailing list, please
> see the instructions at
>               
> http://www.checkpoint.com/services/mailing.html
>
================================================================================
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/


================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================



 
----------------------------------

ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT SITE MAP LEGAL
   All contents © 2004 Network Presence, LLC. All rights reserved.