Port mod_post_log to ejabberd 14.07