added logging for proxy