Loading...
Loading...

HOWTO: How do I continue logging when Check Point Firewall log files need to be rotated?

Expand / Collapse


This article applies to:

  • Firewall Suite

Question:

How do I continue logging when Check Point Firewall log files need to be rotated?

Procedure:

When rotating the log file for a Check Point firewall, below are the proper steps to follow.

  1. Stop the LEA Server service.
  2. Delete the lastrecord.txt files in the log file directory, located below:

      <Installation Directory>\LeaCache\x_x_x_x.dat

      [where x_x_x_x is the internal IP for the firewall]

      During the configuration of the LEA Service or when configuring the profile that utilizes this service the log file location can be configured to use a location other than the default location above. If this option was used, remove the lastrecord.txt files from the location specified in the custom configuration.

      Note: There will always be a lastrecord.txt file, and there may be a second file with a name beginning with "lastrecord" if the log files are being logged.

  3. Rotate the log file on the Check Point firewall.
  4. Start the LEA Server service.

Notes:

When Firewall Suite retrieves log file information via the LEA connection with a Check Point Firewall, the last record received in a file called lastrecord.txt is always kept. When the log file is rotated on the Check Point Firewall, this record will not be present in the new log file, and the retrieval process will not be able to retrieve new information, as it does not know where it left off. By deleting the lastrecord.txt file, and by restarting our LEA service, the data retrieval process can be reset to properly receive data from a newly created log file.

This article was previously published as:
NETIQKB1619

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.