diff --git a/logging_config.py b/logging_config.py index 5b693c3..9017139 100644 --- a/logging_config.py +++ b/logging_config.py @@ -11,7 +11,8 @@ def setup_logging(name): file_handler = logging.FileHandler( filename=f"{name}.log", - mode='w' + mode='w', + encoding="UTF-8" #maxBytes=1024*1024, #backupCount=5 ) diff --git a/mapping.py b/mapping.py index 55384ce..c2788c8 100644 --- a/mapping.py +++ b/mapping.py @@ -115,7 +115,6 @@ def create_tasks_in_tracker(data): # 'completedAt': task['completedAt'] } - logger.debug('Request: %s', json.dumps(payload)) response = requests.post(