#2470: changed default log level to warning + changed sys logging in code to be more aligned with severity of messages
This commit is contained in:
@@ -167,7 +167,8 @@ class WebServer(Service):
|
||||
|
||||
# check if the payload is an HTTPPacket
|
||||
if not isinstance(payload, HttpRequestPacket):
|
||||
self.sys_log.error("Payload is not an HTTPPacket")
|
||||
self.sys_log.warning(f"{self.name}: Payload is not an HTTPPacket")
|
||||
self.sys_log.debug(f"{self.name}: {payload}")
|
||||
return False
|
||||
|
||||
return self._process_http_request(payload=payload, session_id=session_id)
|
||||
|
||||
Reference in New Issue
Block a user