refeactor(logging): try to encode logs

This commit is contained in:
Angelina Tingaeva 2023-12-04 11:04:16 +05:00
parent 98c09a6f9c
commit ad9621641f
2 changed files with 2 additions and 2 deletions

View File

@ -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
)

View File

@ -115,7 +115,6 @@ def create_tasks_in_tracker(data):
# 'completedAt': task['completedAt']
}
logger.debug('Request: %s', json.dumps(payload))
response = requests.post(