Configuring General Logging Properties - Historical Log File
- Last UpdatedMar 23, 2023
- 2 minute read
You can set general logging properties that apply to the selected application.
To configure historical logging
-
If necessary, close the InTouch application running in WindowViewer.
-
Open WindowMaker.
-
On the File menu, click Configure, and then click Historical Logging.
The Historical Logging configuration screen appears.

-
Select the Enable historical logging check box.
-
In the Keep log files for box, type the number of days prior to the current day to retain log files.
Log files are kept for the current day and the number of days within the specified retention period. Log files that are older than the retention period are deleted. Setting the value to 0 retains all log files indefinitely.
Example:
Set the retention period to five days and began logging on the first day of the month. On the seventh day of the month, the log files are retained from the five previous days and the current day (02-07). The log files created on the first day of the month are deleted.
Consider disk space usage when you set the number of days to save logging data. Historical logging stops if your hard disk runs out of free space. You must free disk space to resume logging.
-
Select the location of the folder to save log files.
The Historical Logging Properties dialog box includes two options to set the folder location to store the log files.
Note: The folder path and the name of the file to store log data can be a maximum of 55 characters.
Select Store Log Files in Application Directory to save the log files in the same folder as the InTouch application creating the logged data.
Select Store Log Files in specific Directory to specify another folder to store log files. You can specify the folder to store log files as:
-
Windows folder path such as C:\History Log Files
-
Universal Naming Convention (UNC) path such as \\node\share\directory.
If you are saving log files to a distributed node, you must specify the directory as a UNC path.
If configured to write historical data to the master application node's Application Directory, all NAD nodes try to write historical data to the master application. To avoid this, configure historical data on each NAD node to write to a local directory, not the master application node.
-
-
In the Name of Logging Node box, type the node name of the computer running the InTouch application creating log data.
-
Click Save.
The logging configuration changes become effective immediately. Logging begins the next time you run the application.
For more information about setting up trend printing, see Printing a Trend at Run Time.