Logging |
![]() |
The Logging page allows you to configure how Royal TS keeps records of user activity, error and debug information. |
Enable Internal Logging
Turns internal logging on and off.
Logging Level:
Select which log entry severities to include in the internal log.
Save to File
This option allows you to save the log to a file either when you close Royal TS or after period of time/number of log entries.
Create New File
This option allows you to control when Royal TS creates new log files, when to keep log files and how often the log file is written to for storage.
Logfile Directory
Specify a directory where the log files should be stored. Use the browse button (...) to browse for a folder.
Note |
You can also use environment variables in the Logfile Directory, such as %TEMP%. |
Logfile Name
Specify the name of the log file.
Note |
If you have configured to create multiple logfiles, the file name is automatically extended and will include the time stamp. |
See also: Log Panel
Enable Logging to the Windows Event Log
If checked, Royal TS writes log entries to the Windows Event Log.
Note |
Royal TS creates a new Windows Event Log called "Royal TS". If you want to use this option, Royal TS needs to be started at least once using local administrator rights in order to create the new Event Log on your system. |
Logging Level
Select which log entry severities to include in the internal log.
Template
Use the template to control which information should be published to the event log. You can use the following replacement tokens in the event log message:
Replacement Token |
Description |
$Action$ |
The value of the action field, such as Connect or Disconnect. |
$CustomField1$ up to $CustomField10$ |
The value of the custom field. |
$Details$ |
The log entry details. |
$LocalHost$ |
The computer name running Royal TS. |
$LocalUser$ |
The user account name running Royal TS. |
$Message$ |
The log entry message. |
$ObjectDisplayName$ |
The name of the object in context to the log entry. |
$ObjectID$ |
The ID (Guid) of the object in context to the log entry. |
$ObjectType$ |
The type of object in context to the log entry. |
$RemoteURI$ |
The URI (computer name, IP or URL) of the object in context to the log entry. |
$RemoteUser$ |
The username used on the object in context to the log entry. |
$Severity$ |
The log entry's severity. |
$TimeStamp$ |
Date and time of the log entry. |
Reset Template
Click the button to reset the event log template to the default setting.
Enable Logging to the Console
If checked, Royal TS writes log entries to the STDOUT console.
Logging Level
Select which log entry severities to include in the console log.
Use Color Output
If checked, log messages are shown in different colors depending of the log level.
Enable Logging to a Trace File
If checked, Royal TS writes log entries to a trace file.
Logging Level
Select which log entry severities to include in the trace file log.
Trace File Directory
Specify a directory where the trace file should be saved. Click the browse button (or Ctrl + B) to select a folder. You may also use environment variables like %TEMP%
Trace File Name
Specify the name of the trace file.
Overwrite File on Application Start
If checked, the trace file is overwritten when Royal TS starts, otherwise the trace messages will be appended to the existing file.