log when using proxy