Changing settings for Archiver logs in Security Center - Security Center 5.7 - 5.11

Troubleshooting the Archiver

Applies to
Security Center 5.7 - 5.11
Last updated
2023-08-16
Content type
Troubleshooting
Language
English
Product
Security Center
Version
5.12
5.11
5.10
5.9
5.8

If the server hosting the Archiver role has low disk space, you can change the retention period, and save location of the Archiver logs to free up disk space and prevent issues with the server performance.

What you should know

The Archiver.gconfig file has two sections: ArchiverRole and ArchiverAgent. The settings in the file apply to all the Archiver roles or Archiver agents that are hosted on the server. The Archiver log settings are modified in the ArchiverAgent section of the file.
CAUTION:
Only modify a .gconfig file if you are sure that the changes are valid. Incorrect code in a .gconfig file can cause issues on your system or cause your system to go offline.

Procedure

  1. On the Archiver server, do one of the following:
    • Back up the Archiver.gconfig file by copying it to another folder.

      The file is located by default in C:\Program Files (x86)\Genetec Security Center 5.x\ConfigurationFiles on a 64-bit computer and in C:\Program Files\Genetec Security Center 5.x\ConfigurationFiles on a 32-bit computer.

    • If the Archiver.gconfig file does not exist, generate it as follows:
      1. Log on to Server Admin and select the server hosting the Archiver role.
      2. Click Actions > Console > Commands > Archiver Agent commands > GenerateConfigFile.
  2. Open the Archiver.gconfig file and change the following options in the ArchiverAgent section:
    • Change the ArchiverLogPath value from "C:\ArchiverLogs\" to the desired file path
      ArchiverLogPath="D:\ArchiverLogs\"
    • Change the logDaysToKeep value from 90 days to the desired retention period.
      logDaysToKeep="60"
    NOTE: If the Archiver.gconfig file already existed on the computer but the options are not listed, it is due to one of the following reasons:
    • You have an outdated version of the file. Generate the file using step 1.
    • The file was previously generated for the Archiver role (Actions > Console > Commands > Archiver Role commands > GenerateConfigFile), and you are missing the ArchiverAgent section of the file. Generate the file using step 1.
    • If you are using Archiver failover, the Archiver role might be running on a different server. Generate the file on the other server and copy it to this server.
  3. Save the file and restart the Archiver role.