in order to easily spot this kind of things, it would be super helpful if the JSON is indented properly as well on top of formatting.
The issue here seems that you are using two actions fields. One with logging, which is not properly closed and then a second actions field is put in the json. try removing the latter.