Skip to content

Commit

Permalink
feat:增加备注
Browse files Browse the repository at this point in the history
  • Loading branch information
anjoy8 committed Aug 22, 2024
1 parent edcda37 commit c7d89cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Blog.Core.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"urls": "http://*:9291", //web服务端口,如果用IIS部署,把这个去掉
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Default": "Information", //关闭日志1:修改Serilog的最低日志级别,比如Warning
"Override": {
"Microsoft": "Information",
"Microsoft.AspNetCore": "Warning",
Expand Down Expand Up @@ -62,7 +62,7 @@
"Enabled": false
},
"SqlAOP": {
"Enabled": true,
"Enabled": false, //关闭日志2:修改Sql日志是否显示(也可以精准配置,是否生成到文件、数据库、控制台)
"LogToFile": {
"Enabled": true
},
Expand Down
2 changes: 1 addition & 1 deletion Blog.Core.Tasks/QuartzNet/Jobs/JobBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task<string> ExecuteJob(IJobExecutionContext context, Func<Task> fu
}
}

Console.Out.WriteLine(jobHistory);
//Console.Out.WriteLine(jobHistory);
return jobHistory;
}
}
Expand Down

0 comments on commit c7d89cf

Please sign in to comment.