From d6d8a3a22a5f56a20554a39a1830ad981f83da60 Mon Sep 17 00:00:00 2001 From: Eduardo Lauer Date: Fri, 25 Oct 2024 16:11:08 -0300 Subject: [PATCH] add logging if debug true --- fastetl/custom_functions/fast_etl.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fastetl/custom_functions/fast_etl.py b/fastetl/custom_functions/fast_etl.py index 8a76ffc..d5cdb56 100644 --- a/fastetl/custom_functions/fast_etl.py +++ b/fastetl/custom_functions/fast_etl.py @@ -259,6 +259,8 @@ def copy_db_to_db( Return: None """ + if debug_mode: + logging.info("Debug mode on") # validate connections source = SourceConnection(source) @@ -525,6 +527,9 @@ def sync_db_2_db( None """ + if debug_mode: + logging.info("Debug mode on") + def _divide_chunks(l, n): """Split list into a new list with n lists""" # looping till length l