124 lines
3.5 KiB
JSON
124 lines
3.5 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"NLog": {
|
|
"variables": {
|
|
"baseFileDir": "${basedir}/logs/",
|
|
"layout": "${longdate} | ${uppercase:${level}} | ${logger:shortName=false} | ${message}"
|
|
},
|
|
// "internalLogLevel": "Info",
|
|
// "internalLogFile": "c:\\temp\\internal-nlog.txt",
|
|
"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": "*",
|
|
"ConnectionStrings": {
|
|
"GPW.DB": "Server=W2019-SQL-STEAM; Database=GPW; User ID=UserGPW; Password=Us3rGpw!75x93$77; integrated security=False; MultipleActiveResultSets=True;App=LiMan.API; TrustServerCertificate=True;",
|
|
"Redis": "redis.ufficio:26379,serviceName=prod,DefaultDatabase=15,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,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",
|
|
"ProjCheck": "samuele.locatelli@egalware.com,mara.baroni@egalware.com",
|
|
"TimbCheck": "samuele.locatelli@egalware.com,mara.baroni@egalware.com"
|
|
},
|
|
"EnableChiudiFasi": "false",
|
|
"Redis": {
|
|
"Password": "BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG",
|
|
"AllowAdmin": false,
|
|
"Ssl": false,
|
|
"ConnectTimeout": 6000,
|
|
"SyncTimeout": 6000,
|
|
"AsyncTimeout": 6000,
|
|
"ConnectRetry": 2,
|
|
"ServiceName": "prod",
|
|
"Hosts": [
|
|
{
|
|
"Host": "localhost",
|
|
"Port": "26379"
|
|
},
|
|
{
|
|
"Host": "redis01.ufficio",
|
|
"Port": "26379"
|
|
},
|
|
{
|
|
"Host": "redis03.ufficio",
|
|
"Port": "26379"
|
|
},
|
|
{
|
|
"Host": "redis03.ufficio",
|
|
"Port": "26379"
|
|
}
|
|
],
|
|
"Database": 15
|
|
},
|
|
"ServerConv": {
|
|
"baseUrl": "https://office.egalware.com/GPW/ADMIN/"
|
|
},
|
|
"TimbraCheck": {
|
|
"checkAnomAppr": true,
|
|
"checkAnomTimb": true,
|
|
"checkAnomOreLav": true,
|
|
"checkAnomOreLavComm": true,
|
|
"checkAnomContinuato": true,
|
|
"checkPermMeseCurr": true,
|
|
"checkPermMesePrev": true,
|
|
"sendEmailToUser": false,
|
|
"includeDirectUrl": true,
|
|
"gg2Chk": 60,
|
|
"gg2ChkCont": 30,
|
|
"gg2ChkOreCaricate": 30,
|
|
"maxErrMin": -29,
|
|
"maxErrPlus": 91,
|
|
"maxDaycheckPermMesePrev": 3
|
|
}
|
|
}
|