Newbie Question about logging stuff & receivedEvent.getEvent

You need to use code fences so your config is not mangled.

How to use code fences - Tutorials & Examples - openHAB Community

It looks to me like you are missing a closing brace at the end.