# Dotnet 6.0 log level setting

**URL:** <https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [September 27, 2022, 12:53pm UTC](https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258 "2022-09-27T12:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wolfgang\_Ziegler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfgang_ziegler/32/109929_2.png) [@Wolfgang\_Ziegler](https://discuss.elastic.co/u/Wolfgang_Ziegler)\
**Post date:** [September 27, 2022, 1:35pm UTC](https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258/2 "2022-09-27T13:35:53Z")

</div>

Hi @Simonjanzon,

To answer your first question:

> First of all, why is it logged? What does it mean?

This message is an indication that you have a [TransactionSampleRate](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-core.html#config-transaction-sample-rate) configured for your monitored service.

In case a transaction is **not** sampled (i.e. it is not reported to APM server), a log message with severity `Info` is reported. That's what you are encountering.

Can you please check which [LogLevel](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-supportability.html#config-log-level) you are using in your service?

Also, which way of configuration are you using (environment variables, config file, ...)?

Thanks,  
Wolgang

---

_[View the full topic](https://discuss.elastic.co/t/dotnet-6-0-log-level-setting/315258)._
