Fixed logging of ryu errors 39/7239/1
authorschillinge <ablu@mail.uni-paderborn.de>
Wed, 20 Feb 2019 10:14:22 +0000 (11:14 +0100)
committerschillinge <ablu@mail.uni-paderborn.de>
Wed, 20 Feb 2019 10:14:22 +0000 (11:14 +0100)
Change-Id: I61dd313a947a9fa857f0dca849bfd8294aeedae0
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
src/emuvim/dcemulator/net.py

index 340f340..056ef47 100755 (executable)
@@ -953,7 +953,7 @@ class DCNetwork(Containernet):
 
         # do extra logging if status code is not 200 (OK)
         if req.status_code is not requests.codes.ok:
-            logging.info(
+            LOG.info(
                 'type {0}  encoding: {1} text: {2} headers: {3} history: {4}'.format(req.headers['content-type'],
                                                                                      req.encoding, req.text,
                                                                                      req.headers, req.history))