Skip to content

Commit a05f592

Browse files
author
Yashwant Sahu
committed
Added more tests.
1 parent def59ce commit a05f592

File tree

1 file changed

+2
-2
lines changed
  • libmysql/authentication_ldap

1 file changed

+2
-2
lines changed

libmysql/authentication_ldap/log.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Logger {
6868
template<class LOGGER_TYPE>
6969
Logger<LOGGER_TYPE>::Logger(std::string file_name) {
7070
m_logger_initilzed = -1;
71-
m_log_level = LOG_LEVEL_ALL;
71+
m_log_level = LOG_LEVEL_NONE;
7272
m_log_writer = NULL;
7373
m_log_writer = (Log_writer*) (new LOGGER_TYPE());
7474
m_logger_initilzed = m_log_writer->Open(file_name);
@@ -109,7 +109,7 @@ void Logger<LOGGER_TYPE>::Log(std::string msg) {
109109
break;
110110
case log_type::LOG_ERROR:
111111
plugin_error_level = MY_ERROR_LEVEL;
112-
if (LOG_LEVEL_NONE > m_log_level) {
112+
if (LOG_LEVEL_NONE >= m_log_level) {
113113
goto WRITE_SERVER_LOG;
114114
}
115115
header << "<ERROR> ";

0 commit comments

Comments
 (0)