diff options
| author | Gordon Sim <gsim@apache.org> | 2008-11-25 16:55:20 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-11-25 16:55:20 +0000 |
| commit | ae1b48c2c1653535c0f0ea94a612b1c3a9bf2515 (patch) | |
| tree | a61c8fc7cce2a6c0311f7e50a3b2f56d90e727de /qpid/cpp/src | |
| parent | 9ea485d7e4c06b1b8da76b6c0ed8e380d17e84ee (diff) | |
| download | qpid-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.cpp | 2 |
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); |
