60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Enrichers.ClientInfo" ],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Hangfire": "Warning",
|
|
"Quartz": "Warning",
|
|
"System.Net.Http.HttpClient.HttpReports": "Warning"
|
|
}
|
|
},
|
|
"Enrich": [ "FromLogContext", "WithClientIp", "WithClientAgent" ],
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"restrictedToMinimumLevel": "Warning",
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {LocalIP} {ClientIp} {TokenUserRealName} {TokenUserType} {Message:lj} {Properties:j}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Serilogs/log-.log",
|
|
"rollingInterval": "Hour",
|
|
"rollOnFileSizeLimit": true,
|
|
"fileSizeLimitBytes": 1048576,
|
|
"retainedFileCountLimit": 61320,
|
|
"outputTemplate": "{Timestamp:HH:mm:ss} || {Level} || {SourceContext:l} || {Message} ||{Exception} ||end {NewLine}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ConnectionStrings": {
|
|
"RemoteNew": "Server=192.168.3.68,1434;Database=LiLi_DB;User ID=Lili_User;Password=Eleveta@2025;TrustServerCertificate=true"
|
|
},
|
|
"BasicSystemConfig": {
|
|
|
|
"OpenUserComplexPassword": true,
|
|
|
|
"OpenLoginLimit": true,
|
|
|
|
"OpenCustomStoragePathConfig": false,
|
|
|
|
"FileStoragePath": ""
|
|
},
|
|
|
|
"SystemEmailSendConfig": {
|
|
"Port": 587,
|
|
"Host": "smtp-mail.outlook.com",
|
|
"FromEmail": "donotreply@elevateimaging.ai",
|
|
"FromName": "LiLi DICOM Viewer",
|
|
"AuthorizationCode": "Q#669869497420ul"
|
|
}
|
|
|
|
}
|