88 lines
2.8 KiB
JSON
88 lines
2.8 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"
|
|
}
|
|
]
|
|
},
|
|
"Otel": {
|
|
"EnableTracing": true,
|
|
"Endpoint": "https://uptrace.egalware.com:14317",
|
|
"Dsn": "http://SNqX2ApRbBpK0gDFAohcaA@uptrace.egalware.com?grpc=14317"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=mdb.ufficio;port=3306;database=Lux_000;uid=lux_user;pwd=Egal_pwd!;sslmode=None;",
|
|
"Lux.All": "Server=mdb.ufficio;port=3306;database=Lux_000;uid=lux_user;pwd=Egal_pwd!;sslmode=None;",
|
|
"Redis": "redis.ufficio:26379, serviceName=devel, DefaultDatabase=6, keepAlive=180, connectTimeout=15000, syncTimeout=15000, asyncTimeout=15000, abortConnect=false, ssl=false, allowAdmin=true"
|
|
},
|
|
"ServerConf": {
|
|
"CalcTag": "calc",
|
|
"ChannelPub": "EgwEngineInput",
|
|
"ChannelSub": "EgwEngineOutput",
|
|
"ChannelPng": "luxdev:png:img",
|
|
"ChannelSvg": "luxdev:svg:img",
|
|
"ChannelShape": "luxdev:shape:curr",
|
|
"ChannelHwList": "luxdev:hw:list",
|
|
"ChannelHwOpt": "luxdev:hw:opt",
|
|
"ChannelProd": "luxdev:prod",
|
|
"ChannelProfElem": "luxdev:prof:elem",
|
|
"ChannelProfList": "luxdev:prof:list",
|
|
"ChannelBom": "luxdev:bom",
|
|
"ChannelUpdate": "luxdev:update",
|
|
"BaseUrl": "/lux/srv/",
|
|
"ImageBaseUrl": "https://iis01.egalware.com/lux/srv/api/window/",
|
|
"ImageCalcTag": "svg-preview",
|
|
"ImageLiveTag": "svg",
|
|
"ImageFileTag": "svgfile",
|
|
"FileSharePath": "\\\\stor01\\TEAM DRIVES\\40_FileUpload\\LuxUploads",
|
|
"RedisBaseKey": "Lux",
|
|
"RefreshPeriodMinutes": 5,
|
|
"CleanupProcessed": true,
|
|
"CleanupDayTTL": 180
|
|
}
|
|
}
|