3 Star 8 Fork 1

yedajiang44 / GpsTerminalEmulator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appsettings.json 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
yedajiang44 提交于 2022-05-31 00:37 . 升级net6以及第三方库
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;port=5432;Database=yedajiang44;User ID=root;Password=123456;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"JwtSettings": {
"Issuer": "yedajiang44", //token颁发者
"Audience": "yedajiang44", //token使用者
"SecretKey": "yedajiang44yedajiang44yedajiang44", //token密钥,必须大于16
"Expires": 30 //有效期单位为分钟
},
"NLog": {
"autoReload": true,
"throwConfigExceptions": true,
"targets": {
"logfile": {
"type": "File",
"archiveAboveSize": 104857600,
"maxArchiveFiles": 10,
"maxArchiveDays": 7,
"archiveNumbering": "Sequence",
"archiveEvery": "Hour",
"archiveFileName": "${basedir}/logs/archives/log.${level}.{#####}.log",
"archiveDateFormat": "yyyyMMddHH",
"fileName": "logs/${level}.log",
"layout": "${date}|${level:uppercase=true}|${message} ${exception:format=shorttype,message:maxInnerExceptionLevel=5:innerExceptionSeparator=
----INNER----
:innerFormat=type,message,data}|${logger}|${all-event-properties}"
},
"logconsole": {
"type": "Console",
"layout": "${date}|${level:uppercase=true}|${message} ${exception:format=shorttype,message:maxInnerExceptionLevel=5:innerExceptionSeparator=
----INNER----
:innerFormat=type,message,data}|${logger}|${all-event-properties}"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Information",
"writeTo": "logconsole"
}
]
}
}
C#
1
https://gitee.com/yedajiang44/GpsTerminalEmulator.git
git@gitee.com:yedajiang44/GpsTerminalEmulator.git
yedajiang44
GpsTerminalEmulator
GpsTerminalEmulator
master

搜索帮助