Closed jol5 closed 3 years ago
Hello,
Thanks for reaching out to us!
你好,
感谢您与我们联系!
- [ ] 您是否尝试过在本地打开诊断日志并查看日志中发生了什么?https://exceptionless.com/docs/clients/dotnet/troubleshooting/#enable-client-logging
- [ ] 您是否在配置中设置了DefaultMinLevelLog,该配置会在定义服务器设置之前设置默认值?https://github.com/exceptionless/Exceptionless.Net/blob/master/src/Exceptionless/Configuration/ExceptionlessConfiguration.cs#L213
- [ ] 您是否将警告作为项目级别的默认日志级别或针对此特定堆栈的警告?https://exceptionless.com/docs/setting-log-levels/ ENV: dotnet5 NLog.Web.AspNetCore 4.10.0 Exceptionless.NLog The problem does exist.
![]()
The log level is always a warning
This should work if you remove the api key from the nlog config section. When you specify an api key there it uses an internal Exceptionless client instance. Does this fix this issue?
This should work if you remove the api key from the nlog config section. When you specify an api key there it uses an internal Exceptionless client instance. Does this fix this issue?
OK, it works. Thank you very much.
follow code only warn,error log will send to Exceptionless
ENV: netcore 3.1 NLog 4.7.7 Exceptionless.NLog 4.6.2![image](https://user-images.githubusercontent.com/28615922/106566738-adfee000-656b-11eb-8249-279deab389d3.png)