Documentation Vision Audit+ Documentation

Vision Audit+ / Administration Guide

Maintenance

This chapter covers the logs, debug logging, AF indexes and the toolbar files.

Overview

This chapter covers the logs, debug logging, AF indexes and the toolbar files.

Logs

The service writes its logs to C:\ProgramData\Software Athlete\Vision Audit+\Logs:

  • VisionAudit.Service-<yyyyMMdd>.log: a new file each day and at 10 MB; 14 days are kept.
  • VisionAudit.ConfigurationUtility-<yyyyMMdd>.log: the Configuration Utility.
  • Errors also go to the Windows Application event log, source Vision Audit+.

Debug logging

To log more detail, open the Configuration view, expand Diagnostics, turn on Debug Logging and select Save. The service switches to debug level within a few minutes, without a restart. Turn it off again after the analysis, because debug logs grow fast.

Index AF attributes for faster loading (optional)

On large installations the toolbar loads the history and the recycle bin faster when two AF attributes are indexed.

  1. Open the Vision Audit+ AF database in PI System Explorer and select Library.
  2. Open Event Frame Templates > DisplayHistory > Attribute Templates and select ActionType.
  3. In Properties, select Indexed.
  4. Open Element Templates > Display > Attribute Templates, select IsDeleted and select Indexed.
  5. Check in the changes.

A small i icon next to the attribute shows that the index is in place.

Toolbar files on several web servers

The Configuration Utility installs the toolbar on the server it runs on. If PI Vision runs on several web servers, run the PI Vision Toolbar page on each of them, or copy the toolbar folder from one server to the others after every update.