Import the logging modules directly

This commit is contained in:
R. Richard
2019-06-10 15:32:45 +02:00
parent bed99c20be
commit 105a574d7f
21 changed files with 31 additions and 30 deletions

View File

@ -1,11 +1,12 @@
# Copyright (C) 2018 Avatao.com Innovative Learning Kft.
# All Rights Reserved. See LICENSE file for details.
import logging
from tornado.web import Application
from tfw.networking import EventHandlerConnector
from tfw.config import TFWENV
from tfw.config.logs import logging
from .zmq_websocket_router import ZMQWebSocketRouter

View File

@ -2,13 +2,14 @@
# All Rights Reserved. See LICENSE file for details.
import json
import logging
from tornado.websocket import WebSocketHandler
from tfw.networking import Scope
from tfw.config.logs import logging
LOG = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
class ZMQWebSocketRouter(WebSocketHandler):