53 lines
1.3 KiB
JSON
53 lines
1.3 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": "ruleengine",
|
|
"Password": "navis@123",
|
|
"Topic": {
|
|
"UpdatePVT": "iot/devices/update_PVT"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"RuleEngineConnectStr": "Data Source=203.171.20.94,1434;Database=LPB.CarTracking;User ID=mbbcartracking05;Password=navis@123;TrustServerCertificate=True;"
|
|
},
|
|
"EnableLogFile": true,
|
|
"LogFolderPath": "..\/Logs",
|
|
"DefaultServerUrl": "",
|
|
"SPOOFING_THRESHOLD_KM": 2000,
|
|
"STOP_SPEED_LIMIT": 20,
|
|
"STOP_POINT_DISTANCE": 0.2,
|
|
"DeviceLogLength": 20000000,
|
|
"DevicePasswordSalt": "navis@salt"
|
|
} |