Added a simple post to LOG functionality and checking if the post length is non-zero