Configuring log retention period property
The log files generated during a scan run are saved in the server for certain time frame. The time limit until when such log files are retained by the server is referred as log retention period. After this retention period, these log files become outdated while redundantly occupying memory space in the server. You can configure a time limit as a log retention period in the AppScan Enterprise, to automatically delete such log files after this preset period exceeds.
Before you begin
- You must have administrator privilege.
- You must predefine a default value (time limit) by creating a log retention property key in the
Windows Registry before you configure the log retention property in the application.Note: If you set an invalid value for the log retention time during configuration, then the application rejects the invalid value and replaces it with the default value you have set for this property key in the windows registry.
About this task
You can create a log retention property in the application, where you can configure a specific time limit (duration) for application to retain log files. After this duration expires the application automatically deletes the outdated log files based on their timestamp.
The default log retention period is set to 30 Days . If the log retention period value is more than 365 days, the application automatically resets value to 365 Days.
Procedure
-
Login to AppScan Enterprise as an administrator.
The AppScan Enterprise home page is displayed.
- Click the menu icon on the upper-right corner of the page to view the menu pane.
-
Click Administrator from the menu pane.
The HCL AppScan Enterprise ADMINISTRATION page is displayed.
- Click General Settings from the menu list to open the General Settings page.
-
Click the Edit option available in the Global Extended
Properties section.
The Global Extended Properties page is displayed.
-
Click New Property to add the log retention period property.
An editable box is displayed where you can enter the name of the property you are adding.
- Type ItemLogRetentionDays as the name for the log retention period property you are configuring.
-
Click Done.
The property with the name you entered is created and displayed.
-
Click New Value to add the log retention time in Days.
For example, If you enter value as 40, it implies the log retention duration is 40 Days.An editable box is displayed where you can enter a value in days specifying the log retention period until when you want the application to retain log files.
-
Enter a valid integer value to consider as days.
Note: You must enter only an integer value.
If you enter invalid values consisting of alphanumeric values or values with special characters, the application resets the entered invalid value to the default value. For example, If you enter a long integer value 1022334, the application resets it to the default value 365 days . If you enter an invalid value 3$a, then the application resets it to the default value 30 days.
-
Click Done.
The log retention period is set to the value you enter in this property.
- Click Done at the bottom of the page to save the log retention property configuration.