89 lines
3.6 KiB
JSON
89 lines
3.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "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=true} | ${message}"
|
|
}
|
|
},
|
|
"rules": [
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Trace",
|
|
"writeTo": "logconsole"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Info",
|
|
"writeTo": "logfile"
|
|
}
|
|
]
|
|
},
|
|
"Otel": {
|
|
"EnableTracing": true,
|
|
"Endpoint": "https://uptrace.egalware.com:14317",
|
|
"Dsn": "https://DC_iX71mEzg7KA7atQEBdQ@uptrace.egalware.com?grpc=14317"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"MP.All": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Data": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Flux": "Server=SQL2016DEV;Database=MoonPro_FluxData; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Inve": "Server=SQL2016DEV;Database=MoonPro_MAG; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Land": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Land.Auth": "Server=SQL2016DEV;Database=MoonPro_Anagrafica; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"MP.Sched": "Server=SQL2016DEV;Database=MoonPro_ES3; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.SPEC;",
|
|
"Redis": "redis.ufficio:26379,serviceName=devel,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,allowAdmin=true",
|
|
"RedisAdmin": "redis.ufficio:26379,serviceName=devel,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,allowAdmin=true",
|
|
"mdbConnString": "mongodb://W2019-MONGODB:27017"
|
|
},
|
|
"ServerConf": {
|
|
"maxAge": "2000",
|
|
"cacheCheckArtUsato": "2",
|
|
"redisLongTimeCache": "15",
|
|
"MpIoBaseUrl": "http://localhost:20967/",
|
|
"MpIoNS": "MoonPro:SQL2016DEV:MoonPro",
|
|
"BasePathOdlReturn": "\\\\iis01\\ODL\\ftpdata\\syncfolder",
|
|
"MimeMappings": {
|
|
".dxf": "application/octet-stream",
|
|
".utcfg": "application/octet-stream",
|
|
".utdata": "application/octet-stream",
|
|
".utprobe": "application/octet-stream",
|
|
".utwedge": "application/octet-stream"
|
|
},
|
|
"maxChar4Scroll": 21
|
|
},
|
|
"SpecialConf": {
|
|
"AppUrl": "/MP/SPEC",
|
|
"CodApp": "MP-SPEC",
|
|
"CodModulo": "MP-SPEC"
|
|
}
|
|
}
|