summaryrefslogtreecommitdiff
path: root/cpp
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
commitd0a9f65cbb18ee2e6eaabd6f2ae065e8ec37d411 (patch)
tree2f69c5d074ee4abcdb680b86847cf1f02dfaa39a /cpp
parentf438b2d1b1478637c4d037dfdde041323888c4c6 (diff)
downloadqpid-python-d0a9f65cbb18ee2e6eaabd6f2ae065e8ec37d411.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/qpid@720538 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/SaslAuthenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SaslAuthenticator.cpp b/cpp/src/qpid/broker/SaslAuthenticator.cpp
index 6c6ddd63cb..4cbc3898f8 100644
--- a/cpp/src/qpid/broker/SaslAuthenticator.cpp
+++ b/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);