Table of Contents

Web Site Logging

Configuration Files

The "Management Server" Web Site configuration files with a default installation are located here:

"C:\Program Files\NovaStor\NovaBACKUP Central Management Console\WebRoot\Web\bin"

File name Contents More Technical Information
appsettings.json Database connection string, database command timeout, component log levels https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-3.1#appsettingsjson
nlog.config Logging rules and log file location https://github.com/NLog/NLog/wiki/Configuration-file
web.config IIS hosted web application settings https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-3.1

How to enable logging for the "Management Server" Web Site

The "Management Server" Web Site is not configured with logging enabled by default.

Edit appsettings.json and set the appropriate LogLevel for the components to log.

For example:

 "Default": "Error"
 "Microsoft": "Error"
 "Microsoft.Hosting.Lifetime": "Error"
 "ManagementServer": "Error"

Edit nlog.config and change the value of the attribute minlevel from Off to one of the following values:

Fatal
Error
Warn
Info
Debug
Trace

For more technical information, see NLog configuration log levels.

Log Files Location

With a default installation, the log files are located here: "C:\Program Files\NovaStor\NovaBACKUP Central Management Console\WebRoot\Web\bin\Logs"