summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-11-11 13:42:51 +0100
committerPierre Ossman <ossman@cendio.se>2014-11-11 13:42:51 +0100
commit71d66663985cc19ef6d1947b36e668c2734641ac (patch)
tree0e98e3f78abb26c80d140c9d1980ace89d27dcc7 /common
parentc8273eac5004a075414463a6a0c1e140e02bbe4d (diff)
downloadtigervnc-71d66663985cc19ef6d1947b36e668c2734641ac.tar.gz
tigervnc-71d66663985cc19ef6d1947b36e668c2734641ac.zip
Always log chosen security type
It's often useful to see if encryption was used, and how the user authenticated (if at all).
Diffstat (limited to 'common')
-rw-r--r--common/rfb/CConnection.cxx2
-rw-r--r--common/rfb/CSecurityVeNCrypt.cxx2
-rw-r--r--common/rfb/SSecurityVeNCrypt.cxx2
3 files changed, 3 insertions, 3 deletions
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 */