Maintaining Log Files

Webspace creates a new log file every time the Proficy Webspace Application Publishing Service starts. Over time these files can accumulate and consume a significant amount of disk space. To help manage these files, Webspace lets you delete or backup log files and set file size or age limits. By default, the logs are stored in this folder on the Webspace Server: C:\Program Files\Proficy\Proficy Webspace\Log.

Deleting Log Files

Procedure

  1. From the Webspace Admin Console, on the server list, select the desired server.
  2. On the Tools menu, click Host Options. The Host Options dialog box appears.
  3. Click the Log tab.
  4. In the Maintenance area, from the drop-down list, select Delete.
  5. In the Files more than _ days old field, specify how old (in days) log files can become before being deleted.
  6. In the _ MBs in size field, specify at what size (in megabytes) log files are to be deleted.
  7. Click OK.
  8. Restart the Proficy Webspace Application Publishing Service.

Backing Up Log Files

Procedure

  1. From the Webspace Admin Console, on the server list, select the desired server.
  2. On the Tools menu, click Host Options. The Host Options dialog box appears.
  3. Click the Log tab.
  4. In the Maintenance area, from the drop-down list, select Back Up.
  5. In the Files more than _ days old field, specify how old (in days) log files can become before being moved to the Backup subdirectory of the Log folder.
  6. In the _ MBs in size field, specify at what size (in megabytes) log files are to be moved to the Backup subdirectory of the Log folder.
  7. Click OK.
  8. Restart the Proficy Webspace Application Publishing Service.

    Once every half hour, and each time it is started, the Proficy Webspace Application Publishing Service searches the Log folder for files that have not been modified for more than the specified number of days. It then either deletes the files or moves them to the Backup subdirectory of the Log folder. If while sweeping the log files, the Proficy Webspace Application Publishing Service finds that nothing that the age or size limit has been met in the current log file, it closes the file and installs a newly created file in its place.  

    By default, inactive log files are backed up after 7 days or when the file size has reached 20 MB.