55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
|
{
|
||
|
"Logging": {
|
||
|
"LogLevel": {
|
||
|
"Default": "Information",
|
||
|
"Microsoft.Hosting.Lifetime": "Information"
|
||
|
}
|
||
|
},
|
||
|
"Serilog": {
|
||
|
"Using": [
|
||
|
"Serilog.Sinks.File"
|
||
|
],
|
||
|
"MinimumLevel": {
|
||
|
"Default": "Information",
|
||
|
"Override": {
|
||
|
"Microsoft": "Warning",
|
||
|
"System": "Warning"
|
||
|
}
|
||
|
},
|
||
|
"WriteTo": [
|
||
|
{
|
||
|
"Name": "File",
|
||
|
"Args": {
|
||
|
"path": "Logs\/ruleengine_log_.log",
|
||
|
"rollingInterval": "Day",
|
||
|
"fileSizeLimitBytes": 10485760,
|
||
|
"rollOnFileSizeLimit": true,
|
||
|
"retainedFileCountLimit": 7
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"MqttSettings": {
|
||
|
"Broker": "localhost",
|
||
|
"Port": 1883,
|
||
|
"JwtSecret": "emqx@sivan123456789@emqx@sivan123456789@emqx@sivan123456789@emqx@sivan123456789",
|
||
|
"Username": "emqxruleengine",
|
||
|
"Password": "navis@123",
|
||
|
"Topic": {
|
||
|
"DeviceStatus": "devices/status",
|
||
|
"DeviceHealth": "devices/health",
|
||
|
"PushCommand": "devices/command"
|
||
|
}
|
||
|
},
|
||
|
"ConnectionStrings": {
|
||
|
"RuleEngineConnectStr": "Data Source=203.171.20.94,1434;Database=LPB.CarTracking;User ID=mbbcartracking05;Password=navis@123"
|
||
|
},
|
||
|
"EnableLogFile": true,
|
||
|
"LogFolderPath": "..\/Logs",
|
||
|
"DefaultServerUrl": "",
|
||
|
"SPOOFING_THRESHOLD_KM": 2000,
|
||
|
"STOP_SPEED_LIMIT": 20,
|
||
|
"STOP_POINT_DISTANCE": 0.2,
|
||
|
"DeviceLogLength": 20000000,
|
||
|
"DevicePasswordSalt": "navis@salt"
|
||
|
}
|