Audit Files

The information displayed in the Counters Tab of the Audit Dialog is periodically recorded in text files to be available for later analysis. The files are located under PcVue's root folder in Bin\Log files. The files are generated for each installed copy of PcVue, not for each project. The number of audit files and the period at which they are generated is configurable.

Counters

The main audit files in which all the counters are dumped. The files are named Audit.Counters.<xxxx>.txt where <xxxx> is 0000 for the first file that is generated, 0001 for the second file etc. Once the maximum file number has been used (default 9999) the oldest file is discarded and the sequence starts again. By default, the files are generated every 30 minutes while the application is running. See the topic Audit & diagnostics settings.

System resource counters

The system resource audit files contain counters connected with diagnosing memory or resource leaks. The files are named Audit.SpecificCounters.<xxxx>.txt and the mechanism by which they are generated is the same as for the main audit files. By default, the files are generated every 10 minutes while the application is running. See the topic Audit & diagnostics settings.

Watchdog counters

The watchdog audit files are only generated when a manager is in watchdog state. The files are named Audit.Watchdog.<xxxx>.txt and are the same format as the main audit files. The files are created as follows.

  • The first six every 10 seconds
  • The next three every 20 seconds
  • The next two every 30 seconds
  • The next two every 60 seconds
  • Then every 5 minutes until the manager is no longer in the watchdog state

Audit.LoadedManagers.txt

Created during startup of the application when all the managers have loaded. Same format as Audit.Counters.<xxxx>.txt.

Audit.StartedProject.txt

Created during startup of the application when the project has loaded in all the managers. Same format as Audit.Counters.<xxxx>.txt.

Audit.LastMinute.txt

Updated (overwritten) once a minute while the application is running and then deleted when it is shutdown. Same format as Audit.Counters.<xxxx>.txt. If this file exists when the application is started (because of a crash or dirty previous shutdown) its contents is appended to the T file

Audit.StoppedProject.txt

Created during shutdown of the application when the project has un-loaded in all the managers. Same format as Audit.Counters.<xxxx>.txt.

Audit.DeletedProject.txt

Created during shutdown of the application when the instances of all the managers have been deleted. Same format as Audit.Counters.<xxxx>.txt.

Audit.UnloadedManagers.txt

Created during shutdown of the application when the managers have un-loaded. Same format as Audit.Counters.<xxxx>.txt.