Enable logging on Windows and Linux

Top Previous Topic Next Topic  Print this topic

This section presents information on how to configure the location and verbosity of XF Rendering Server's log files.

 

There are 4 logging levels:

None - No logging will occur.
Normal - Errors, warnings and information messages will be logged.
All - Errors, warnings, information messages and various traces will be logged.
Debug - Everything will be logged. Includes diagnostic information for troubleshooting.

 

Log Folder - indicates the folder where the log files will be generated.

Dump stack trace on error - The stack trace is logged whenever an exception is thrown. This should be set to false; it must be turned on for troubleshooting, only when instructed by Technical Support.

 

Windows

 

 

logging

 

Log Levels:

This dialog box is used for choosing between the preset levels of verbosity in the generated logs.

 

loggingedit

 

 

Log Files - double clicking this option will open the folder containing the log files.

 

Notes:

The Debug logging level is not intended for regular use and should only be enabled when sending log files to support for troubleshooting. When using it, it is recommended to also have Dump Stack Trace On Exit set to True.
The user must restart the service in order for the changes made to take effect. This can be done manually or automatically by selecting the Restart the service to apply changes option after modifying a value.

 

 

Linux

 

To configure logging under Linux, the UDaemon configuration file located at /opt/Ecrion/Common/UDaemon.config must be edited (if the file does not exist, it must be  first created).

To enable full logging, the following lines must be added at the end of the file:

 

 

       LogLevel=Debug
       LogFolder=/opt/Ecrion/Common

       DumpStackTraceOnError=True

 

 
After saving the file, the XF Rendering Server service must be restarted using the following command:

 

 

       /etc/init.d/ultrascaled restart

 

 

The server will start generating logs in the specified "Log" folder (in this case: /opt/Ecrion/Common).