improve next layer log message (#7337)
This commit is contained in:
parent
2d68a5246a
commit
03bf350924
|
@ -109,8 +109,8 @@ class NextLayer:
|
|||
nextlayer.data_server(),
|
||||
)
|
||||
except NeedsMoreData:
|
||||
logger.info(
|
||||
f"Deferring layer decision, not enough data: {nextlayer.data_client().hex()}"
|
||||
logger.debug(
|
||||
f"Deferring layer decision, not enough data: {nextlayer.data_client().hex()!r}"
|
||||
)
|
||||
|
||||
def _next_layer(
|
||||
|
|
|
@ -404,7 +404,7 @@ class TestNextLayer:
|
|||
assert nl._next_layer(m.context, http_get, b"").flow is not None
|
||||
|
||||
def test_next_layer(self, monkeypatch, caplog):
|
||||
caplog.set_level(logging.INFO)
|
||||
caplog.set_level(logging.DEBUG)
|
||||
nl = NextLayer()
|
||||
|
||||
with taddons.context(nl) as tctx:
|
||||
|
|
Loading…
Reference in New Issue