adding logging to troubleshoot posting.