yuzd / Hangfire.HttpJob

httpjob for Hangfire,restful api for Hangfire,job调度与业务分离
https://github.com/yuzd/Hangfire.HttpJob/wiki
MIT License
626 stars 185 forks source link

如何关闭hangfire stats日志? #85

Closed garfage closed 3 years ago

garfage commented 3 years ago

如题,打开hangfire页面一直会输出 HTTP POST /hangfire/stats responded 200 in 15.5392 ms 这种日志,请问如何配置能够关闭它?

yuzd commented 3 years ago

这个属于aspnetcore的日志级别 需要设置下 image

garfage commented 3 years ago

改了,不过还是没有用

yuzd commented 3 years ago

不会吧。你有没有改对啊。你百度下看看呢 这个属于aspnetcore的日志level设置的问题 不是我这个插件导致的

yuzd commented 3 years ago

image 可能你是debug运行的话 你release的话就不会打印了 在Program.cs里面设置