refactor(mapping): include logging
This commit is contained in:
parent
db4f1b66e3
commit
b354d408b2
@ -3,7 +3,6 @@ import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
base_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
asana_data_json = os.path.join(base_dir, './data/data_asana.json')
|
||||
|
||||
|
@ -3,6 +3,7 @@ import csv
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
|
||||
import requests
|
||||
from yandex_tracker_client import TrackerClient
|
||||
@ -13,6 +14,8 @@ ORG_ID = '35d164dcf81e48f2b6a532f4badddd33'
|
||||
# TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5'
|
||||
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG, filename='mapping.log', filemode='w')
|
||||
|
||||
client = TrackerClient(
|
||||
token='YANDEX_TRACKER_TOKEN',
|
||||
org_id='ORG_ID'
|
||||
|
Loading…
Reference in New Issue
Block a user