Add access and error logging for proxy