rename publish_to_logs to publish_to_clients