# How do I suppress INFO messages when using logic2-automation

**URL:** <https://discuss.saleae.com/t/how-do-i-suppress-info-messages-when-using-logic2-automation/2875>\
**Category:** Uncategorized\
**Created:** [May 15, 2024, 12:23pm UTC](https://discuss.saleae.com/t/how-do-i-suppress-info-messages-when-using-logic2-automation/2875 "2024-05-15T12:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnthor](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@arnthor](https://discuss.saleae.com/u/arnthor)\
**Post date:** [May 15, 2024, 12:23pm UTC](https://discuss.saleae.com/t/how-do-i-suppress-info-messages-when-using-logic2-automation/2875/1 "2024-05-15T12:23:42Z")

</div>

these messages:  
INFO:saleae.automation.manager:sub ChannelConnectivity.IDLE  
INFO:saleae.automation.manager:sub ChannelConnectivity.CONNECTING  
INFO:saleae.automation.manager:sub ChannelConnectivity.READY  
INFO:saleae.automation.manager:sub ChannelConnectivity.IDLE

Thanks!

Arnþór

---

<div class="post-metadata">

**Author:** ![markgarrison](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/markgarrison/32/23_2.png) [@markgarrison](https://discuss.saleae.com/u/markgarrison)\
**Post date:** [May 16, 2024, 8:54pm UTC](https://discuss.saleae.com/t/how-do-i-suppress-info-messages-when-using-logic2-automation/2875/2 "2024-05-16T20:54:55Z")

</div>

Hi @arnthor,

Thanks for writing in. These messages are produced from our python library. They are logged through the python logger module.

Here is a quick fix:

```py
import logging

logging.getLogger("saleae.automation.manager").setLevel(logging.ERROR)

```

Note, you should not see these logs by default, they are only shown once you have setup the root logger in your own python with:

```py
logging.basicConfig(level=logging.DEBUG)

```

or similar.

---

<div class="post-metadata">

**Author:** ![arnthor](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@arnthor](https://discuss.saleae.com/u/arnthor)\
**Post date:** [May 17, 2024, 9:48am UTC](https://discuss.saleae.com/t/how-do-i-suppress-info-messages-when-using-logic2-automation/2875/3 "2024-05-17T09:48:06Z")

</div>

Ah great, thank you.

Figures that it was something on my end since I spent quite a while searching the internet and the forums and didn’t find any result.

The only relevant result I found for logging.basicConfig was in venv/Lib/site-packages/saleae/saleae.py

logging.basicConfig(level=logging.INFO), I changed it to .ERROR and the messages stopped.

Thanks!
