# Set log level of binding has no effect

**URL:** <https://community.openhab.org/t/set-log-level-of-binding-has-no-effect/141264>\
**Category:** Bindings\
**Tags:** logging\
**Created:** [November 21, 2022, 4:20pm UTC](https://community.openhab.org/t/set-log-level-of-binding-has-no-effect/141264 "2022-11-21T16:20:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [November 21, 2022, 4:57pm UTC](https://community.openhab.org/t/set-log-level-of-binding-has-no-effect/141264/2 "2022-11-21T16:57:43Z")

</div>

See [MQTT 2.5 M1+ How to implement the equivalent to MQTT1 REGEX filters](https://community.openhab.org/t/mqtt-2-5-m1-how-to-implement-the-equivalent-to-mqtt1-regex-filters/68350). Set REGEX expression to look for something that identifies that the message contains the JSONPATH value. Only if the expression matches will the message be passed to the JSONPATH, eliminating the errors.

Another option is to use the Shelly binding. It’s still local control but handles all this stuff for you.

> [@Alexander\_Mayr](#):
>
> I decided to change the log level - without success.

You can change the log level of the whole binding using `org.openhab.binding.mqtt`

But the expected way to handle this is through that REGEX filter.

---

_[View the full topic](https://community.openhab.org/t/set-log-level-of-binding-has-no-effect/141264)._
