Logging

Top  Previous  Next  

The DataPA Enterprise service writes to one or many log files which will be stored in the DataPA folder in one of the following locations, depending on your version of windows:

 

C:\ProgramData (newer versions of windows)
C:\Documents and Settings\All Users\Application Data (older versions of windows)

 

Using the Append to log file check box you can choose whether you want the log file to be appended to each time the DataPA Enterprise Service starts. If you have this checked then a new log file will be created and overwrite the previous one that has the same file name.

 

The main log file will be called DataPAEnterpriseService.log or DataPAEnterpriseService.XXXXXX.log where XXXXXX is a sequential number. The number will only be used if you have chosen to break up the log files into a number of separate ones.

 

To do this you can set the property Max number of log files. This will mean that there will never more log files than the value you specify here. As such it can be used to in conjunction with the Log file threshold size prevent the log files from taking up too much disk space on the machine.

 

The Log file threshold size allows you to specify the size after which a new log file should be created. This new log file will use the next sequential number in it's file name. If creating a new log file breaching the maximum number set using the Max number of log files value then the oldest log file will be deleted at that point.

 

The purpose of the logging is mainly to assist in support investigations and the Enable extended logging should normally be switched OFF to improve performance and reduce unnecessary disk usage. In this instance only the stopping and starting of the service and any error messages will be written to the log file and it's growth will be minimal.

 

Setting the Enable agent usage logging option, writes a line to the log file anytime a request is processed by an agent. This generates data which can then be used to monitor how many agents are in use at any given time.

 


Copyright © 2003-2017 DataPA Limited, all rights reserved. DataPA OpenAnalytics 6.0