added logging to file
This commit is contained in:
parent
f534825e53
commit
0c6ded18c7
7
main.py
7
main.py
@ -67,7 +67,12 @@ def main():
|
|||||||
"UNI-USDT"
|
"UNI-USDT"
|
||||||
]
|
]
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s')
|
logging.basicConfig(
|
||||||
|
level=logging.INFO,
|
||||||
|
format='%(asctime)s %(levelname)s %(message)s',
|
||||||
|
filename='market_data_collector.log',
|
||||||
|
filemode='a'
|
||||||
|
)
|
||||||
dbs = {}
|
dbs = {}
|
||||||
clients = {}
|
clients = {}
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user