How to purge automatically as_server and event_demon logs

Document ID : KB000066855
Last Modified Date : 02/07/2018
Show Technical Document Details
Question:

We need to purge automatically the as_server and event_demon logs to avoid disk space issues. Is this possible?



 

Answer:
Yes, the solution is to set the “LOGROLLOVER” parameter to the number of days of log you want to keep as in the following example:

LOGROLLOVER=PURGE(365)

This will allow to keep 365 days (one year) of the as_server and event_demon logs under $AUTOUSER/out directory.

Hence, all the logs older than one year will be purged automatically.

This parameter needs to be set in the config.$AUTOSERV file under $AUTOUSER directory.

Please note this feature is implemented since WA AE 11.3.6 SP1 release.