diff --git a/common/rfb/Configuration.cxx b/common/rfb/Configuration.cxx index 62a3498..ff03a6f 100644 --- a/common/rfb/Configuration.cxx +++ b/common/rfb/Configuration.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include @@ -432,7 +433,8 @@ bool StringParameter::setParam(const char* v) { if (immutable) return true; if (!v) throw rfb::Exception("setParam() not allowed"); - vlog.debug("set %s(String) to %s", getName(), v); + if (strcasecmp(getName(), "BasicAuth")) // don't log the auth info + vlog.debug("set %s(String) to %s", getName(), v); CharArray oldValue(value); value = strDup(v); return value != 0;