From: Pierre Ossman Date: Tue, 11 Nov 2014 12:42:51 +0000 (+0100) Subject: Always log chosen security type X-Git-Tag: v1.3.90~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71d66663985cc19ef6d1947b36e668c2734641ac;p=tigervnc.git Always log chosen security type It's often useful to see if encryption was used, and how the user authenticated (if at all). --- diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx index 1695c3a6..e0a23b5a 100644 --- a/common/rfb/CConnection.cxx +++ b/common/rfb/CConnection.cxx @@ -181,7 +181,7 @@ void CConnection::processSecurityTypesMsg() if (secType != secTypeInvalid) { os->writeU8(secType); os->flush(); - vlog.debug("Choosing security type %s(%d)",secTypeName(secType),secType); + vlog.info("Choosing security type %s(%d)",secTypeName(secType),secType); } } diff --git a/common/rfb/CSecurityVeNCrypt.cxx b/common/rfb/CSecurityVeNCrypt.cxx index 77eeef9a..a15da4a6 100644 --- a/common/rfb/CSecurityVeNCrypt.cxx +++ b/common/rfb/CSecurityVeNCrypt.cxx @@ -164,7 +164,7 @@ bool CSecurityVeNCrypt::processMsg(CConnection* cc) break; } - vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType), + vlog.info("Choosing security type %s (%d)", secTypeName(chosenType), chosenType); /* Set up the stack according to the chosen type: */ diff --git a/common/rfb/SSecurityVeNCrypt.cxx b/common/rfb/SSecurityVeNCrypt.cxx index 9e4260f4..39647f6e 100644 --- a/common/rfb/SSecurityVeNCrypt.cxx +++ b/common/rfb/SSecurityVeNCrypt.cxx @@ -157,7 +157,7 @@ bool SSecurityVeNCrypt::processMsg(SConnection* sc) if (!haveChosenType) chosenType = secTypeInvalid; - vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType), + vlog.info("Client requests security type %s (%d)", secTypeName(chosenType), chosenType); /* Set up the stack according to the chosen type */