diff options
Diffstat (limited to 'src/network/kernel')
-rw-r--r-- | src/network/kernel/qauthenticator.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp index 87fc2d847a..c23e82dd85 100644 --- a/src/network/kernel/qauthenticator.cpp +++ b/src/network/kernel/qauthenticator.cpp @@ -40,6 +40,7 @@ #include <qauthenticator.h> #include <qauthenticator_p.h> #include <qdebug.h> +#include <qloggingcategory.h> #include <qhash.h> #include <qbytearray.h> #include <qcryptographichash.h> @@ -68,6 +69,9 @@ QT_BEGIN_NAMESPACE +Q_DECLARE_LOGGING_CATEGORY(lcAuthenticator); +Q_LOGGING_CATEGORY(lcAuthenticator, "qt.network.authenticator"); + static QByteArray qNtlmPhase1(); static QByteArray qNtlmPhase3(QAuthenticatorPrivate *ctx, const QByteArray& phase2data); #if QT_CONFIG(sspi) // SSPI @@ -1658,7 +1662,7 @@ static void q_GSSAPI_error_int(const char *message, OM_uint32 stat, int type) do { gss_display_status(&minStat, stat, type, GSS_C_NO_OID, &msgCtx, &msg); - qDebug() << message << ": " << reinterpret_cast<const char*>(msg.value); + qCDebug(lcAuthenticator) << message << ": " << reinterpret_cast<const char*>(msg.value); gss_release_buffer(&minStat, &msg); } while (msgCtx); } |