We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

This Firmware Version Is End-Of-Support

Documentation for this product is no longer updated. Please see End-of-Support for CloudGen Firewall Firmware for further information on our EoS policy.

Log File Handling

  • Last updated on

The log configuration specifies how the log daemon handles log files on the Barracuda NextGen Firewall F-Series. Logs can be sent to the syslog service and/or written to disk. Log cycling specifies how long log files are kept and where they are stored.

In this article:

Configure the Log Daemon

  1. Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Log Configuration.
  2. Click Lock.
  3. Set the parameters for Generate Log Data and Store Log Data.
  4. Click Send Changes and Activate.

The following table displays how and where the log daemon saves log files, when the parameters are set:

Generate Log DataStore Log DataResult
yesyesLogs are sent to the syslog service and written to disk.
yesnoLogs are sent to the syslog service but not written to disk.
noyesLogs are neither sent to the syslog service nor written to disk. If you want to activate the writing of log files to disk only, you must set parameters Generate Log Data AND Store Log Data to yes and disable syslog streaming in the Infrastructure Services > Syslog Streaming configuration.
nonoLogs are not streamed or saved to disk.

Configure Log Cycling

  1. Go to CONFIGURATION > Configuration Tree > Box > Advanced Configuration > Log Cycling.
  2. Click Lock.
  3. Set Verbose Logging:
    • yes(default) The file name and action of the cycled logfiles are logged to the Box/Logs/logstor logfile. 
    • no – Cycles log files are not logged.
  4. In the File Specific Settings table, click + to add a new entry for the log file type.
  5. Enter a Name for the settings and click OK.
  6. Select the Type of Logfile.

    Type of LogfileDescription
    allAll logfiles created.
    boxLog files created by the box layer services.
    boxfw
    Log files of the host firewall.
    fatalLog file containing entries from all fatal log files.
    miscLog files that are not allocatable to the box layer or virtual server layer.
    serverLog files created by services running on a virtual server.
    userLog file containing entries related to specific users.
  7. Specify the Logfile Name Patterns. For user log files, you can enter a list of wild card expressions. Only files with the .log suffix are affected. Protect wildcards with single quotes.
  8. Configure Log Cycling Actions. In the Actions table, add entries to configure the log maintenance policies. You can add the following types of actions:
    • remove Specifies how long a log file can be stored before it is deleted. 
      1. In the Storage Time (days) field, enter the maximum number of days that the log file can be kept. 
      2. In the Always Keep (File Instances) field, you can enter the number of log files that you want to keep, regardless of the value entered in the Storage Time (days) field.
    • purge Specifies how long a log file can be stored before it is deleted, without the option of how many log files can be kept beyond the specified time length. 
      1. In the Max Storage Time (days) field, enter the maximum number of days that the log file can be kept.
    • move Specifies how long a log file can be stored before it must be moved to a specified directory. 
      1. In the Storage Dir field, enter the directory where the file should be moved. 
      2. To preserve separation of log and laf files through using different subdirectories, enable Keep Log Structure. Enabling Compression compresses (gzip -6) moved files.
      3. In the Storage Time (days) field, enter the maximum number of days that the file can be kept before it must be moved.
      4. In the Always Keep (File Instances) field, you can enter the number of log files that cannot be moved, regardless of the setting entered in the Storage Time (days) field.

        You must manually monitor the Storage Dir directory, as it is not automatically maintained by the Barracuda NextGen Firewall F-Series. Delete or move old log files to prevent the disk from running out of space.

  9. Click OK.
  10. Click Send Changes and Activate.
Last updated on