add logger in webpay