diff --git a/gns3server/logger.py b/gns3server/logger.py index 592d9ada..74cd2093 100644 --- a/gns3server/logger.py +++ b/gns3server/logger.py @@ -111,7 +111,7 @@ class LogFilter: """ def filter(record): - if "/settings" in record.msg and "200" in record.msg: + if isinstance(record.msg, str) and "/settings" in record.msg and "200" in record.msg: return 0 return 1