From d87180b2fb3e5a09983e17cceddea9d889cc63f7 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 14 Jan 2021 00:07:24 -0800 Subject: [PATCH] replace some print statements --- app/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers.py b/app/helpers.py index 3d7ca50..09c5849 100644 --- a/app/helpers.py +++ b/app/helpers.py @@ -28,7 +28,7 @@ def cancel_operation(codename): if r: op.record_v4_id = None db.session.commit() - print(f'Deleted A records for {codename}') + current_app.logger.info(f'Deleted A records for {codename}') if op.record_v6_id: r = do.delete_record(op.record_v6_id) if r: @@ -36,4 +36,4 @@ def cancel_operation(codename): db.session.commit() current_app.logger.info(f'Deleted AAAA records for {codename}') else: - print('Not an op') + current_app.logger.info('Not an op')