Removing unuseful log message
Extracting function do_post/1