Inhaltsverzeichnis
3.1 Logging
Log configuration and output.
Log Level
"Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }
Level Hierarchy
| Level | Description |
|---|---|
| Trace | Very detailed |
| Debug | Debugging information |
| Information | General information |
| Warning | Warnings |
| Error | Errors |
| Critical | Critical errors |
| None | No logs |
File Logging
For file logging, Serilog or NLog can be integrated.
Windows Event Log
"Logging": { "EventLog": { "LogLevel": { "Default": "Warning" } } }
Zuletzt geändert: on 2026/01/29 at 11:21 PM