Logging¶
The log will be written to the logs folder relative to the connector (i.e. [Totalview Installation]\TotalviewWallboard\logs). By default the logs will be kept for 30 days, and the log for today is called “_current.log”. Any internal log errors will be logged to _internal-log.log
To change logging level edit the Logging->LogLevel section the appsettings.json file found in the folder [Totalview Installation]\TotalviewWallboard. The default values are:
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Error"
}
}
Valid logging levels are:
Trace, Debug, Information, Warning, Error, Critical, None
NB! If you set the log level to Trace it will log a lot of data. Only have this enabled for a short time.
If nothing is written to log¶
To diagnose logging problems you can try and lower the logging level for the _internal-log.log and maybe change where the internal log is written. It might be a write permission problem.
To change the internal-log open the file NLog.config in the folder [Totalview Installation]\TotalviewWallboard.
To change log level update the internalLogLevel (Valid levels are Trace, Debug, Info, Warn, Error, Fatal, Off)
To change log file path update the internalLogFile
Default values are:
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="true"
internalLogLevel="Error"
internalLogFile="logs\_internal-log.log">
...