From: schillinge Date: Wed, 20 Feb 2019 10:14:22 +0000 (+0100) Subject: Fixed logging of ryu errors X-Git-Tag: v6.0.0~26 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F7239%2F1;p=osm%2Fvim-emu.git Fixed logging of ryu errors Change-Id: I61dd313a947a9fa857f0dca849bfd8294aeedae0 Signed-off-by: schillinge --- diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index 340f340..056ef47 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -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))