73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"BuildNumber": "1",
|
|
"BuildSourceVersion": "1234567",
|
|
"Company": "Infineon Technologies Americas Corp.",
|
|
"ClearLastScanServiceAfter": 250,
|
|
"DeviceNameEndsWith": "Symbol Bar Code Scanner",
|
|
"EquipmentName": "",
|
|
"ExpectedScanLengthA": 8,
|
|
"ExpectedScanLengthB": 14,
|
|
"ExpectedScanLengthBExample": "1TO172125.1.11",
|
|
"FileShare": "",
|
|
"LinuxDevicePath": "/proc/bus/input/devices",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Log4netProvider": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"IsDevelopment": false,
|
|
"IsStaging": false,
|
|
"NotifyMinimum": 3,
|
|
"MockRoot": "",
|
|
"MonAResource": "OI_Metrology_Viewer_EC",
|
|
"MonASite": "auc",
|
|
"OpenInsightApplicationProgrammingInterface": "https://oi-prod-ec-api.mes.infineon.com/api/oiWizard",
|
|
"PostTo": "",
|
|
"PostToEvery": 1000,
|
|
"SerialPortName": "/dev/ttyUSB0",
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.Console",
|
|
"Serilog.Sinks.File"
|
|
],
|
|
"MinimumLevel": "Information",
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Debug",
|
|
"Args": {
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "%workingDirectory% - Log/log-.txt",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}",
|
|
"rollingInterval": "Hour"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [
|
|
"FromLogContext",
|
|
"WithMachineName",
|
|
"WithThreadId"
|
|
],
|
|
"Properties": {
|
|
"Application": "Sample"
|
|
}
|
|
},
|
|
"ShareToEvery": 1000,
|
|
"RootPassword": "",
|
|
"URLs": "http://localhost:5003;",
|
|
"WorkingDirectoryName": "IFXApps",
|
|
"WriteToSerialEvery": 750
|
|
} |