Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This is an attempt at documenting the available options for the service the DAM center has in Dotnet Core.

The services covered by this document are the services in the DigizuiteCore and the AutomationWorkflows folder.

Logging

The following keys are available in the “Logging” section of the appsettings.json.

All settings are reloaded on the fly if the appsettings.json is changed, no need to restart the process.

Some of these settings might not be visible by default, but they can all be added.

Option name

Description

LogLevel

How much logging there should be included. Valid values are:

  • Critical

  • Error

  • Warning

  • Information

  • Debug

  • Trace

with each level logging more information.

Overrides

A dictionary that can be used to change the log level of certain namespaces. Usually not something you need to change.

For example:

"Overrides": {
    "Microsoft.EntityFrameworkCore": "Warning"
},

Reduces the LogLevel of Entity Framework to Warning, rather than the normal log level set for the rest of the service. Multiple keys can be provided.

EnabledCentralizedLogger

If the centralized logging mechanic should be enabled. This has to be enabled to be able to pull logs directly from Media Manager.

LocalLogPath

The path where the service should attempt to log it’s own logs if local logging is enabled. This does not clean up after itself, so this should only be enabled for the sake of debugging, and should be turned off once done.

EnableLocalLogging

If local logging should be enabled. The same warning as above applies. Both this and LocalLogPath has to be set, for the local logging to occur.

Note

There are certain times when the applications fail to start completely (Usually due to some problem with the environment), in this case, it can be useful to go into the Web.Config file for the service, and enable stdout logging. One should be careful to disable this, once the service is up and running again, as it doesn’t clean up after itself, so it can risk filling the disk.

  • No labels