log added to post method