Search Results for

    Show / Hide 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"

    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

    Log Files Location

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

    In This Article
    Back to top © 2022 NovaStor Corporation. All rights reserved. All trademarks are the property of their respective owners. Features and specifications are subject to change without notice. The information provided herein is provided for informational and planning purposes only. Send comments on this topic to support@novabackup.com.
    Download Help Documentation as a PDF.