Skip to main content
19-Tanzanite
February 3, 2016
Solved

What file gets purged with Purge Audit Log?

  • February 3, 2016
  • 3 replies
  • 2060 views

When you use the Audit Log Purge Management on the Site --> Utilities page, what file does that purge?  Is it the access.log in the HTTPServer --> logs?  Just want to make sure what I am purging before I do.  If it is that file, that will be great because that file can grow very large.  Is there a performance hit when purging?

Thanks!

Best answer by BineshKumar1

if you are looking ways for log management, Windchill logs and Apache logs can be managed and maintained through JMX Mbeans. There are MBean attributes which can be configured from JConsole. Go to Mbeans > com.ptc >LogsDirViewers. There are two entries there one for WC logs and one for Apache. You can control the log cleanup and zip and maintain threshold through MaintenanceAgeThresholdDays and ReallyOldThresholdDays attributes.

Thank you

Binesh

3 replies

1-Visitor
February 3, 2016

It doesn't purge any log files. What it does is when you have audit events turned on in you system to capture the events, it writes all of it to auditevent and auditrecord tables. In a busy system over the time, this table grows big. Audit Log Purge Management utility is provided to purge these tables. If you have a lot of entries in this tables, doing a purge would have performance impact .

12-Amethyst
October 7, 2024

Hello @BineshKumar1  / @LoriSood  , Is there a elegant way to Archieve these auditevent and auditrecord tables so that they can retrived later from record retention and retrival purposes ? We are facing issues of managing auditevent and auditrecord tables data for more than 1 year old and then we need to Delete /Purge them ..

1-Visitor
February 3, 2016

if you are looking ways for log management, Windchill logs and Apache logs can be managed and maintained through JMX Mbeans. There are MBean attributes which can be configured from JConsole. Go to Mbeans > com.ptc >LogsDirViewers. There are two entries there one for WC logs and one for Apache. You can control the log cleanup and zip and maintain threshold through MaintenanceAgeThresholdDays and ReallyOldThresholdDays attributes.

Thank you

Binesh

23-Emerald I
February 5, 2016

Hi Brian,

Did Binesh's explanation provide you with the information you needed?