log the publish message