aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/websocket.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/websocket.py')
-rw-r--r--fg21sim/webui/websocket.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fg21sim/webui/websocket.py b/fg21sim/webui/websocket.py
index 0e7f07f..00bda03 100644
--- a/fg21sim/webui/websocket.py
+++ b/fg21sim/webui/websocket.py
@@ -84,11 +84,11 @@ class FG21simWSHandler(tornado.websocket.WebSocketHandler):
elif network.upper() == "ANY":
# Any hosts are allowed
allow = True
- logger.error("WebSocket: %s: any hosts are allowed" % self.name)
+ logger.warning("WebSocket: %s: any hosts are allowed" % self.name)
elif ip_in_network(ip, network):
allow = True
- logger.error("WebSocket: %s: " % self.name +
- "client is in the allowed network: %s" % network)
+ logger.info("WebSocket: %s: " % self.name +
+ "client is in the allowed network: %s" % network)
else:
allow = False
logger.error("WebSocket: %s: " % self.name +