Add server-side logging for demo.