Setup logging when the proxy is started.