HaKuNa
(Remo M)
May 6, 2021, 5:50am
1
How can I disable the ERROR logging of the following log entries.
2021-05-05 11:35:54.946 [ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Problem with writing the data, class org.openhab.core.io.rest.sitemap.internal.PageDTO, ContentType: application/json
2021-05-05 11:35:54.947 [ERROR] [internal.JSONResponseExceptionMapper] - Unexpected exception occurred while processing REST request.
java.io.IOException: Broken pipe
I’m not able to find out with “list -s” in the karaf console which logger needs to be changed.
As long as you are sure you would like to suppress the content of the error message you could use a filter like described here: Log filtering in OH 3 - #21 by markus7017
HaKuNa
(Remo M)
May 6, 2021, 6:17pm
3
Thanks, that works, added this
<RegexFilter onMatch="DENY" onMismatch="ACCEPT" regex=".*(org.openhab\.core\.io\.rest\.sitemap\.internal\.PageDTO|Unexpected exception occurred while processing REST request).*"/>
Anyway, it’s only a temporary workaround. until I found a solution for:
Since 3.1.0.M4 i get a lot of the same errors in the openhab.log when I use the iOS app.
I checked if I have some noexisting items in the sitemap, but all the items are there and return a status.
Anybody else have this errors in the log when using the iOS app?
Is there a way to suppress them as from a functional view, I have no issues except reading the log is a pain?
2021-05-05 11:35:54.946 [ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Problem with writing the data, class org.openhab.cor…
1 Like