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: [FW-1] Too large log file



Title: RE: [FW-1] Too large log file

I have heard people mention cron for the log files before. how do I use this?

I would like to automate saving the log and then ftping the log to another machine each day. Also it would be beneficial if the log was deleted after ftping across to another machine.

Thanks in advance.

Sam.

-----Original Message-----
From: Leon Noble [mailto:[email protected]]
Sent: Thursday, November 29, 2001 12:00 PM
To: [email protected]
Subject: Re: [FW-1] Too large log file


Hi Billy,

This is not a solution to your immediate problem, but just a suggestion to
help organise your logs a bit better.


cron or at

$FWDIR/bin/fw logswitch > /dev/null 2>&1        (Replace $FWDIR with it's
appropriate value.)

every night at midnight. This will help organise your log files.


best regards

Leon.

-----Original Message-----
From: Mailing list for discussion of Firewall-1
[mailto:[email protected]]On Behalf Of Billy
Chan
Sent: 29 November 2001 09:45
To: [email protected]
Subject: [FW-1] Too large log file


Dear all,

I try to do a "fw logswitch" since the log file size is very large (about
300M), but it fail, it display "Log switch failed".

Then, I run "fwstop" and try to rename the log file, but it display " The
Process cannot access the file because it is being used by another process."
while I run the command " ren old.log new.log".

Is there any other process still running after "fwstop" ?
How to rename the file name?

Best Regards,
Billy

===============================================
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
===============================================



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

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