Question
5
Replies
531
Views
Ford Motor Company
Posted: March 1, 2019
Last activity: April 26, 2019
Closed
Deleting PegaRules log file more then 30days old
Hi,
Did anyone tried deleting old PegaRules log using Delete tag through prlog4j2 file.
I have tried and its not deleting those logs.
Regards,
Anandh
***Edited by Moderator Marissa to update platform capability tags****
Hi,
Thank you for posting your questions in Product Support Community.
You can go ahead and try setting system property
log4j2.debug
toTRACE
to get detailed internal log4j logs during configuration and rollover. logging.apache.org/log4j/2.x/faq.html#troubleshooting Also, have you tried asking on the log4j user mailing list?Also, for more details, please see the Custom Delete action supported by the Rollover File appender: https://logging.apache.org/log4j/2.x/manual/appenders.html#CustomDeleteOnRollover
Hope this helps.
Thanks,
Debraj