Changeset: e5fc524d0512 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e5fc524d0512
Modified Files:
clients/iotclient/src/Flask/app.py
Branch: iot
Log Message:
Removed Flask log messages
diffs (16 lines):
diff --git a/clients/iotclient/src/Flask/app.py
b/clients/iotclient/src/Flask/app.py
--- a/clients/iotclient/src/Flask/app.py
+++ b/clients/iotclient/src/Flask/app.py
@@ -1,8 +1,12 @@
+import logging
+
from flask import Flask
from flask_restful import Api
from .restresources import StreamInput, StreamsInfo, StreamsHandling
+log = logging.getLogger('werkzeug')
+log.setLevel(logging.ERROR) # disable logging messages to the stderr
def start_flask_iot_app(host, port):
iot_app = Flask(__name__)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list