Log Levels
FastTransfer uses Serilog for logging and supports multiple log levels to control the verbosity of output.
You can set the loglevel using the --loglevel parameter followed by a value in the list of available log levels.
Available Log Levels
VERBOSE
Verbose: most detailed tracing information. Use case: deep troubleshooting.DEBUG
Debug: detailed diagnostic information. Use case: development and troubleshooting.INFOdefault
Information: general informational messages. Use case: normal operation.WARNING
Warning: potentially harmful situations. Use case: issues that don't prevent operation.ERROR
Error: error events that allow continuation. Use case: operation failures.FATAL
Fatal: severe errors causing termination. Use case: fatal application errors.note
The --loglevel parameter accepts verbose, debug, information, warning and error. Fatal can only be set through the MinimumLevel property of the settings file.
Configuration
You can also configure the log level in the FastTransfer_Settings.json file by modifying the MinimumLevel property:
{
"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-ddTHH:mm:ss.fff zzz} -|- {Application} -|- {runid} -|- {Level:u12} -|- {fulltargetname} -|- {Message}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "Logs\\FastTransfer_.json",
"rollingInterval": "Day"
}
}
]
}
}