不自动获取用户具体地址
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
},
|
||||
"File": {
|
||||
"Enabled": true, // 启用文件日志
|
||||
"FileName": "logs/{0:yyyyMMdd}.log", // 日志文件
|
||||
"Append": true, // 追加覆盖
|
||||
// "MinimumLevel": "Information", // 日志级别
|
||||
"FileSizeLimitBytes": 10485760, // 10M=10*1024*1024
|
||||
"MaxRollingFiles": 30 // 只保留30个文件
|
||||
}
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.Extensions.Http": "Warning"
|
||||
},
|
||||
"File": {
|
||||
"Enabled": true, // 启用文件日志
|
||||
"FileName": "logs/{0:yyyyMMdd}.log", // 日志文件
|
||||
"Append": true, // 追加覆盖
|
||||
// "MinimumLevel": "Information", // 日志级别
|
||||
"FileSizeLimitBytes": 10485760, // 10M=10*1024*1024
|
||||
"MaxRollingFiles": 30 // 只保留30个文件
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user