From 9b6ef36ba92c381911982efea25c48b26215885f Mon Sep 17 00:00:00 2001 From: Gleb Mikhaylov Date: Mon, 26 Aug 2019 16:38:58 +0300 Subject: [PATCH] fixed logger name --- apps/payment/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/payment/tasks.py b/apps/payment/tasks.py index b85b460d..30879228 100644 --- a/apps/payment/tasks.py +++ b/apps/payment/tasks.py @@ -71,8 +71,8 @@ def transaction_to_roistat(user_id, payment_id, event_name, amount, time, status if resp.status_code != 200 or not resp_json or not resp_json.get('processed'): logger.error('TRANSACTION_TO_ROISTAT for payment # %d, %s RUB: %s' % ( payment_id, amount, resp.text)) - roistat_logger.debug('TRANSACTION_TO_ROISTAT for payment # %d, %s RUB: %s' % ( + logger_roistat.debug('TRANSACTION_TO_ROISTAT for payment # %d, %s RUB: %s' % ( payment_id, amount, resp.text)) else: logger.info('TRANSACTION_TO_ROISTAT: ' + str(resp.text)) - roistat_logger.debug('TRANSACTION_TO_ROISTAT: ' + str(resp.text)) + logger_roistat.debug('TRANSACTION_TO_ROISTAT: ' + str(resp.text))