Fix session logging 09/101409/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:34 +0000 (15:40 +0200)
commit995beff9f202bac6db076b9369ea415b7670ab6c
treea98acd36450f8abf4a16bf34f54380734fd86140
parent826788634ad5ba17c752a62d92f0b2b625ba9782
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