Fix session logging 06/101406/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 31 May 2022 20:27:53 +0000 (22:27 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 13:40:03 +0000 (15:40 +0200)
commit316c3b56656420d6cd6ff58c024ff6f671a038cc
tree973d3c6bce6da42f31bf50b9674aaa025988757e
parentf7d3d5776a5969f54f257633ef5c094245c9fad9
Fix session logging

We are using 'this' for session name -- that refers to the anonymous
class, leading to confusing logs. Fix that by passing the proper
session. This allows us to use a simple lambda instead.

Change-Id: I10080ef1f55d260af3a1ca8b62a58510d0feec87
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 1581d8d1ac5205e45409ab48c1034a23d8b8a7ee)
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java