# APM dotnet core agent - disable logging

**URL:** <https://discuss.elastic.co/t/apm-dotnet-core-agent-disable-logging/346542>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [November 6, 2023, 4:27pm UTC](https://discuss.elastic.co/t/apm-dotnet-core-agent-disable-logging/346542 "2023-11-06T16:27:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![shlomys](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shlomys/32/127274_2.png) [@shlomys](https://discuss.elastic.co/u/shlomys)\
**Post date:** [November 7, 2023, 6:35am UTC](https://discuss.elastic.co/t/apm-dotnet-core-agent-disable-logging/346542/3 "2023-11-07T06:35:58Z")

</div>

> [@stephenb](#):
>
> ELASTIC\_APM\_LOG\_LEVEL

I tried it as well, doesn't work, I still get log messages.  
One thing that may be related is that we use Serilog, but I am not sure if it's related.  
I found similar topic at [https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258/2](https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258/2) and tried to upgrade my apm library but it doesn't seem to resolve the issue.

---

_[View the full topic](https://discuss.elastic.co/t/apm-dotnet-core-agent-disable-logging/346542)._
