Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 664a315

Browse files
committed
Initialize the logger with basic config in the cli
1 parent d88b96c commit 664a315

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zerorpc/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import sys
3030
import inspect
3131
import os
32+
import logging
3233
from pprint import pprint
3334

3435
import zerorpc
@@ -253,6 +254,7 @@ def run_client(args):
253254

254255

255256
def main():
257+
logging.basicConfig()
256258
args = parser.parse_args()
257259

258260
if args.bind or args.connect:

0 commit comments

Comments
 (0)