Add logging to debug status posting