Closed lwyjan closed 2 years ago
你参考下文档里的设置:https://exceptionless.com/docs/setting-log-levels/ 不过按照文档中的设置之后,也会遇到这样的情况,我debug手动在代码中修改日志等级,然后就写进去了,有时候跟堵住了一样。
This is due to the DefaultMinLogLevel that's defined on the client. Please see the readme for more information: https://github.com/exceptionless/Exceptionless.Net/blob/118b006c1c66c7fcc2c668f91af5a27cad8bd2ab/src/Platforms/Exceptionless.NLog/readme.txt#L30 Please note we recommend using the default client instance (remove the target api key to use the default instance) so you can configure this setting. It's not currently possible to set this setting via the nlog target.
This is due to the DefaultMinLogLevel that's defined on the client. Please see the readme for more information:
Please note we recommend using the default client instance (remove the target api key to use the default instance) so you can configure this setting. It's not currently possible to set this setting via the nlog target.
Using the latest version of https://be.exceptionless.io/, it is possible to upload Info level logs normally. At present, I am using a relatively low version of Exceptionless, which seems to be a version incompatibility issue. Find a similar issue here https://github.com/exceptionless/Exceptionless.Net/issues/260
Yes, this seems to be the case and a duplicate, I'd recommend upgrading as well as setting that setting until server side settings can be retrieved.
Did upgrading help? I'm going to close this as I feel this is a duplicate of #260
The Exceptionless version I am using is v2.7.1. When I use Exceptionless.NLog of version 4.6.2, Info level logs cannot be uploaded to Exceptionless, but Warn and Error logs can be uploaded.