# Extensive logging of binding turns filesystem to read-only

**URL:** <https://community.openhab.org/t/extensive-logging-of-binding-turns-filesystem-to-read-only/147405>\
**Category:** Beginners\
**Tags:** logging, openhab3\
**Created:** [June 22, 2023, 8:15am UTC](https://community.openhab.org/t/extensive-logging-of-binding-turns-filesystem-to-read-only/147405 "2023-06-22T08:15:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 22, 2023, 1:51pm UTC](https://community.openhab.org/t/extensive-logging-of-binding-turns-filesystem-to-read-only/147405/6 "2023-06-22T13:51:38Z")

</div>

First, is it really logs from the binding (i.e. logs in `openhab.log`) or is it `events.log`? If the former, then the advice given here is good plus, in OH 4 you can navigate to the binding in Settings → Binding → `<name of binding>` there’s a tiny gear icon in the upper right. Click on that and one of the options is “Add-on log settings” where you can change the level.

If the latter, you’ll need to create a Regex filter for the events.log logger as those logs come from the event bus, not from the binding so changing the logging level of the binding will have no effect. See [openHAB - Filtering event logs](https://community.openhab.org/t/openhab-filtering-event-logs/38277).

Alternatively, you could change the max size and total number of files to save for both loggers to reduce the max size that the log files can grow. Under `<Appenders>` you’ll find a pair of RollingFile entries. Between those you’ll find `SizeBasedTriggeringPolicy` which is set to “16 MB”. You can change that to a lower value. You’ll also find `DefaultRolloverStrategy` with a `max` attribute. That attribute controls how many old log files to keep, deleting those that are older than that.

So by default the max space for each log should be 16 MB \* 8 = 128 MB. Reducing those numbers will reduce the max space required.

Reducing the logging levels will really only change how often you need to reboot, not address the root running out of space problem.

```auto

```

---

_[View the full topic](https://community.openhab.org/t/extensive-logging-of-binding-turns-filesystem-to-read-only/147405)._
