>From the CLI Guide...
fw logswitch creates a new active Log File. The current active Log
File is closed and renamed by default $FWDIR/log/current_time_stamp.log
unless you define an alternative name that is unique. The format of
the default name current_time_stamp.log is YYYY-MM-DD_HHMMSS.log. For
example: 2003-03-26_041200.log.
Warning:
. The Logswitch operation fails if a log file is given an pre-existing
file name.
. The rename operation fails on Windows if the active log that is being
renamed, is open at the same time that the rename operation is taking place;
however; the Logswitch will succeed and the file will be given the default
name $FWDIR/log/current_time_stamp.log.
The new Log File that is created is given the default name
$FWDIR/log/fw.log. Old Log Files are located in the same directory. A
SmartCenter server can use fw logswitch to switch a Log File on a remote
machine and transfer the Log File to the SmartCenter server.
When a log file is sent to the SmartCenter server, the data is compressed.
HTH,
Robbie
-----Original Message-----
From: Mailing list for discussion of Firewall-1
[mailto:FW-1-MAILINGLIST AT AMADEUS.US.CHECKPOINT DOT COM] On Behalf Of Robby
Cauwerts
Sent: Saturday, December 16, 2006 6:44 AM
To: FW-1-MAILINGLIST AT AMADEUS.US.CHECKPOINT DOT COM
Subject: Re: [FW-1] Log does not switch
On 12/13/06, Markus Schmidt <Markus.Schmidt AT interface-systems DOT de> wrote:
>
> Hi
>
> The Following Problem: some time ago my Logfile stopped switching
> correctly.
What happens if you do a manually logswitch?
# fw logswitch
Do you get a new empty file or not?
Br.
Robby
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
|