Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion jupyter_matlab_proxy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
from .gui.static import js
from .gui.static import media

logging.basicConfig(level=logging.INFO)
logLevel=logging.INFO
if os.environ.get("LOG_LEVEL") is not None:
logLevel=getattr(logging, os.environ.get("LOG_LEVEL"), logging.INFO)

logging.basicConfig(level=logLevel)
logger = logging.getLogger("MATLABProxyApp")

# TODO It is bad practice to have global state in aiohttp applications, instead this
Expand Down