fixed mistake in post_in_log()