Log writes when event logging it on.

This logs the attempt to write to the stream from the JsonService
before we actually attempt to write, so it's logging a statement of
intent, not a successful write.