93 lines
3.3 KiB
JSON
93 lines
3.3 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.AspNetCore.Components.RenderTree.Renderer": "Warning",
|
|
"Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository": "Warning",
|
|
"Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware": "Warning",
|
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning",
|
|
"Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport": "Warning",
|
|
"Microsoft.AspNetCore.Server.Kestrel": "Warning",
|
|
"Microsoft.AspNetCore.SignalR.HubConnectionContext": "Warning",
|
|
"Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher": "Warning",
|
|
"Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware": "Warning",
|
|
"Microsoft.WebTools.BrowserLink.Net.VsContentMiddleware": "Warning"
|
|
}
|
|
},
|
|
"NLog": {
|
|
"variables": {
|
|
"baseFileDir": "${basedir}/logs/",
|
|
"layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=false} | ${message}"
|
|
},
|
|
"extensions": [
|
|
{ "assembly": "NLog.Extensions.Logging" },
|
|
{ "assembly": "NLog.Web.AspNetCore" }
|
|
],
|
|
"throwConfigExceptions": true,
|
|
"targets": {
|
|
"async": true,
|
|
"logfile": {
|
|
"type": "File",
|
|
"fileName": "${basedir}/logs/${shortdate}.log",
|
|
"archiveEvery": "Day",
|
|
"archiveFileName": "${basedir}/logs/old/${shortdate}_{#}.log",
|
|
"archiveNumbering": "DateAndSequence",
|
|
"archiveAboveSize": "1024000",
|
|
"archiveDateFormat": "HH",
|
|
"maxArchiveFiles": "60",
|
|
"maxArchiveDays": "30"
|
|
},
|
|
"logconsole": {
|
|
"type": "ColoredConsole",
|
|
"layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=false} | ${message}"
|
|
}
|
|
},
|
|
"rules": [
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Trace",
|
|
"writeTo": "logconsole"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Info",
|
|
"writeTo": "logfile"
|
|
}
|
|
]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"LiMan.GLS": "Server=W2019-SQL-STEAM;Database=SteamWare_Auth;User ID=sa;Password=keyhammer16;integrated security=False;MultipleActiveResultSets=True;App=LiMan.UI;",
|
|
"LiMan.DB": "Server=W2019-SQL-STEAM;Database=LiMan.DB;User ID=sa;Password=keyhammer16;integrated security=False;MultipleActiveResultSets=True;App=LiMan.UI;",
|
|
"Redis": "redis.ufficio:26379, serviceName=prod, DefaultDatabase=13, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG"
|
|
},
|
|
"DbConfig": {
|
|
"Server": "mdb.ufficio",
|
|
"nKey": "K0000",
|
|
"sKey": "M@g4zz1no"
|
|
},
|
|
"ReloadStatusTimer": 30000,
|
|
"ExternalProviders": {
|
|
"MailKit": {
|
|
"SMTP": {
|
|
"Address": "smtp.gmail.com",
|
|
"Port": "587",
|
|
"Account": "services@steamware.net",
|
|
"Password": "ruejpcwgycvbmmsr",
|
|
"SenderEmail": "services@steamware.net",
|
|
"SenderName": "Steamware Email BOT"
|
|
}
|
|
}
|
|
},
|
|
"MailDest": {
|
|
"Admin": "samuele@steamware.net",
|
|
"ProcOp": "ceo@steamware.net"
|
|
},
|
|
"RuntimeOpt": {
|
|
"BaseUrl": "/ELM.UI",
|
|
"MultiRoleEnab": true
|
|
},
|
|
"ApiUrl": "https://liman.egalware.com",
|
|
"HostOs": "Win"
|
|
} |