Please enable JavaScript to view this site.

 

The integrated web server for LinkarWS, KESTREL, uses Serilog to manage its logs, but LinkarWS did not have a dedicated log service. Now the use of Serilog has been extended to LinkarWS too, including the option to log to text files as well as MySQL databases.

 

In order to use MySQL as a the log database you will need any system with an accessible MySQL installation. It can be installed in a different system than LinkarWS as long as the MySQL user has the necessary permissions and you have the "Connection String".

 

 

 

 

 

 

 

 

Enabling the "Serilog Debugging Mode" option will log any incidence picked up by Serilog to a text file. The file is named "Serilog.LinkarServer.log" and is located in the LOGS folder that is found in the LinkarWS installation folder.

 

This file is created anew with each LinkarWS start. Enabling this option can be useful for gathering additional information when using MySQL logs and having problems accessing the database.

 

LinkarWS will extract extensive information that will be stored in multiple Serilog properties. For MySQL logs these properties will be sent to a MySQL table. For text file logs you can select which properties will be written.

 

The "Log Strings Max Length" allows you to truncate the max length of the information sent to the Serilog properties. A value of 0 will not apply truncation and will store the full content to the property. It is recommended to input a Max Length value, for example 2048, as some properties could receive extremely long strings that may not be useful to log. This parameter can be changed at any time without having to restart LinkarWS.