In this section you will learn how to set the logging of the fiscal service.
Prerequisite
- Existing installation of the Fiscal Client
Implementation
Logging in the Fiscal Client can be set in the service configuration of the Fiscal Client. The service configuration of the Fiscal Client can be found in the following file:
%PROGRAMFILES%\RetailForce\Fiscal Webservice\appsettings.json
(Windows)
To change the level of detail of the logging, you must change the following value:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"AppSettings": {
...
}
(only an excerpt from the file)
You can set the log level as follows (Listing from the lowest level (logging of a few data) to the highest (provision of all information)):
- Error
- Warning
- Information
- Debug
- Trace
Attention: Incorrect changes to this file can prevent the service from starting.
Comments
0 comments
Please sign in to leave a comment.