openHAB - Filtering event logs

It’s been awhile since I’ve looked at filters, but I think the first line is only necessary if you have multiple subfilters. So in your case you can delete it and just have the last four lines.

I’m not sure if that’s the solution, but it’s the first thing that jumps out at me.

Alternatively, would it be better to just change the log levels for this particular binding to not record warnings?

EDIT: I just realized that you’re doing this for the openhab.log file. I’m only filtering for events.log. However, I have an entry to filter Chromecast warnings out of openhab.log, based on these instructions. You should be able to do the same for the TCP binding.