Knowledge Base
3.5.0
Search this version
Knowledge Base
Knowledge Base
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Enable Extra Logging in the Configuration?
Copy Markdown
Open in ChatGPT
Open in Claude
Logging supports different log levels to have the desired granularity. Default logging is set to Information.
This can be configured using the appsettings.json file from the configurations directory (on Linux systems, that means /etc/mdss/configurations).
Javascript
{ "Serilog": { "Using": [], "MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "System": "Warning", "Microsoft.Hosting.Lifetime": "Warning" } }, "Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithProcessName", "WithThreadId" ], "WriteTo": [ { "Name": "File", "Args": { "buffered": false, "fileSizeLimitBytes": 500000000, "outputTemplate": "[{Timestamp:u}] [{Level}] {Namespace}: {Message:lj}{NewLine}{Exception}", "path": "logs/log.txt", "retainedFileCountLimit": "10", "rollingInterval": "Day", "rollOnFileSizeLimit": true } } ] }}To change log level adjust MinimumLevel.Default with the following:
- Debug
- Information
- Warning
- Error
- Fatal
On Linux MinimumLevel.Default can be changed during running.
On Windows a restart is required for any change
Default maximum size of a log file is 500Mb which can be adjust by changing fileSizeLimitBytes
Rolling interval is configured to be daily by the rollingIntervalor on file size limit rollOnFileSizeLimit: true
Default retained files limit is set to 10 by retainedFileCountLimit
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
What is User Squashing for Network File System (NFS)?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
