Log

Large organizations and long-time ProjectDox customers value their audit trail. Archiving the ProjectDox LogReports table enables the preserving of the information by reducing the number of records, without affecting the working database. The Microsoft SQL limits are reliably maintained by pushing the records to another database or deleting old records based upon configuration.

ProjectDox Core Tab

  1. Shared folder named PDOXLogs has been created in the same local network.

  2. Configure LogArchive settings on Admin>Configuration>Log tab.

The fields below are populated with the following defaults during the initial install and when a site is updated with the Updater.autosql:

3.     Ensure that the Utility service is running. No specific configurations are required.

·   The above days are how long the records will exist in the database before being deleted. These days are not configurable.

If conditions that have been set are met, then PDFs will be generated in the specified shared location.

Archive Selection Process

Archive Log

If LogArchiveFileSize is 0/empty then it will be written until it reaches the max esignation, the default is 50 MB. An example of these files would be 04_2016_0.pdf (50 MB), 04_2016_1.pdf (50 MB), 04_2016_2.pdf (<50 MB). 04_2016_2.pdf is the current file being written to until it reaches 50MB and then 04_2016_3.pdf would be created.

Determines error log options.

JobProcessorLogURL

URL to Job Processor Log. Example: http://servername:7070/log/

LogArchiveDays

Number of days that should pass from creation date in order to move record to archive.

LogArchiveFileSize

Size in MB of a single archive file.

LogArchiveLocation

Physical path to a folder to store archive files in.

LogArchiveTableSize

Size of table in MB when archiving process will be started.

LogOutput

Determines where to log ProjectDox errors. Critical errors are written to the ProjectDox Event Log in Event Viewer.  Default is 2.

0 = Disabled

1 = Trace – this option sends log output to the .NET trace. Trace must also be enable in web.config or enabled from the SystemConfig.aspx page.

2 = DB – This is the default setting. It  will add log entries to the Debug table in the database