Changing the log retention period
The log retention period is set to "90 days" by default.
You can confirm log details in "View log" screen when they are within the log retention period. After the retention period has expired, logs can be confirmed only in the archives.
You can change the log retention period in the configuration file (common.ini) if necessary.
-
Stop the Web server service on the server where Garoon is installed.
-
Open the common.ini file.
When Garoon is installed into the default installation directory, common.ini file is created in the following directory.
- On Windows:
C:\Inetpub\scripts\cbgrn - On Linux:
/var/www/cgi-bin/cbgrn
- On Windows:
-
Specify the log retention period in days in "retention_period" under [Logging] section.
The log retention period must be specified between 1 and 365 days.
Example to change the log retention period to 180 days:- Before change
[Logging]
rotation = "100000"
retention_period = "90"- After changing:
[Logging]
rotation = "100000"
retention_period = "180" -
Save the common.ini file.
If Garoon is in operation on multiple servers, repeat the steps 2 to 4 on all of the servers. -
Start the Web server service on the server where Garoon is installed.