summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-25 16:55:20 +0000
committerGordon Sim <gsim@apache.org>2008-11-25 16:55:20 +0000
commitae1b48c2c1653535c0f0ea94a612b1c3a9bf2515 (patch)
treea61c8fc7cce2a6c0311f7e50a3b2f56d90e727de /qpid/cpp/src
parent9ea485d7e4c06b1b8da76b6c0ed8e380d17e84ee (diff)
downloadqpid-python-ae1b48c2c1653535c0f0ea94a612b1c3a9bf2515.tar.gz
Clean up logging a bit: only warn once, not for every connection
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720538 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp b/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp
index 6c6ddd63cb..4cbc3898f8 100644
--- a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp
+++ b/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp
@@ -121,6 +121,7 @@ std::auto_ptr<SaslAuthenticator> SaslAuthenticator::createAuthenticator(Connecti
if (c.getBroker().getOptions().auth) {
return std::auto_ptr<SaslAuthenticator>(new CyrusAuthenticator(c));
} else {
+ QPID_LOG(warning, "SASL: No Authentication Performed");
return std::auto_ptr<SaslAuthenticator>(new NullAuthenticator(c));
}
}
@@ -136,7 +137,6 @@ void NullAuthenticator::getMechanisms(Array& mechanisms)
void NullAuthenticator::start(const string& mechanism, const string& response)
{
- QPID_LOG(warning, "SASL: No Authentication Performed");
if (mechanism == "PLAIN") { // Old behavior
if (response.size() > 0 && response[0] == (char) 0) {
string temp = response.substr(1);