91 lines
3.0 KiB
JSON
91 lines
3.0 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"DetailedErrors": true,
|
|
"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=true} | ${message}"
|
|
}
|
|
},
|
|
"rules": [
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Trace",
|
|
"writeTo": "logconsole"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Info",
|
|
"writeTo": "logfile"
|
|
}
|
|
]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"CodApp": "GPW",
|
|
"ConnectionStrings": {
|
|
"GPW.DB": "Server=W2019-SQL-STEAM;Database=GPW; User ID=UserGPW; Password=Us3rGpw!75x93$77; integrated security=False; MultipleActiveResultSets=True; App=GPW.CORE.WRKLOG; TrustServerCertificate=True;",
|
|
"GPW.DB.Auth": "Server=W2019-SQL-STEAM;Database=SteamWare_Anagrafica;User ID=sa;Password=keyhammer16;integrated security=False;MultipleActiveResultSets=True;App=GPW.ADM; TrustServerCertificate=True;",
|
|
"Redis": "redis.ufficio:26379,serviceName=prod,DefaultDatabase=15,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG"
|
|
},
|
|
"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",
|
|
"InfoMal": "samuele.locatelli@egalware.com,mara.baroni@egalware.com",
|
|
"InfoRich": "samuele.locatelli@egalware.com"
|
|
},
|
|
"ServerConf": {
|
|
"AdmList": "1,6",
|
|
"BaseUrl": "/GPW/CORE.ADM",
|
|
"BasePathExport": "c:\\\\temp\\GPW_ADM_Export",
|
|
"ReportBaseUrl": "http://w2019-sql-steam/ReportServer/Pages/ReportViewer.aspx?/Steamware/"
|
|
},
|
|
"AdmApp": {
|
|
"LinkMal": "https://office.egalware.com/GPW/CORE.ADM/malattia",
|
|
"LinkRich": "https://office.egalware.com/GPW/CORE.ADM/richiesteDip"
|
|
},
|
|
"OptPar": {
|
|
"UrlLinkInt": "https://office.egalware.com/GPW/",
|
|
"UrlLinkExt": "https://seriate.egalware.com/GPW/",
|
|
"UrlLinkCore": "CORE.SMART/",
|
|
"UrlLinkLega": "SMART/"
|
|
}
|
|
}
|