Question
carelon
IN
Last activity: 27 Nov 2017 9:40 EST
SystemCleaner Agent is not purging logs which are more than 30 days old
Hi Team,
We are seeing very old logs in the system and its occupying more disk space. SystemCleaner agent is up and no errors in logs. Please suggest.
Thanks,
Loknath
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Loknath,
prlogging.xml controls the generation of PegaRULES.log. You can change the rollover policies, filenames, locations etc.. but we can't use it for deletion.
PegaRULES logs will be stored in server filesystem only as defined in prlogging.xml. You check over the web to get sample shell scripts to tar/gzip the logs to move it some other disk or remove if not needed.
Pegasystems Inc.
US
Hi Loknath,
What do you mean by old logs in the system? PegaRULES & server logs? Can we know what sort of logs are you expecting SystemCleaner to purge?
SystemCleaner does few predefined tasks on the Pega platform like cleaning passivation data, report statistics, Log-usage data, stale nodes etc..
carelon
IN
Hi Harish,
Thanks for responding. Its PegaRULES logs. I am seeing logs of 2016 also. These are occupying more disk space. Please find the attached screenshots.
Thanks,
Loknath
Pegasystems Inc.
US
Hi Loknath,
Thanks for the details. SystemCleaner will not have any control on PegaRULES log
We will have to manually write scripts to tar/gzip the logs to move it some other disk or remove if not needed. This is a usual housekeeping activity at server level to manage old log files.
Hope this helps!
carelon
IN
Hi Harish,
Thanks!! This really helps.
Is PegaRULES logs stored in any table, so that we can execute DB script to delete (or) the server administrator has to manually delete the PegaRULES logs from folders? Please share if you have any table details or sample scripts.
Thanks,
Loknath
carelon
IN
Hi Harish,
Could you please let me know if I can configure anything in prlogging.xml, so that PegaRULES logs can be purged automatically.
Thanks,
Loknath
Accepted Solution
Pegasystems Inc.
US
Hi Loknath,
prlogging.xml controls the generation of PegaRULES.log. You can change the rollover policies, filenames, locations etc.. but we can't use it for deletion.
PegaRULES logs will be stored in server filesystem only as defined in prlogging.xml. You check over the web to get sample shell scripts to tar/gzip the logs to move it some other disk or remove if not needed.