This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 0088a64  Fix compilation error that occurs when USE_LOG4CXX is ON 
(#244)
0088a64 is described below

commit 0088a645c7265e7eb9255238d818aaa8aa115654
Author: Masahiro Sakamoto <massa...@yahoo-corp.jp>
AuthorDate: Thu Apr 6 20:53:48 2023 +0900

    Fix compilation error that occurs when USE_LOG4CXX is ON (#244)
---
 lib/Log4cxxLogger.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Log4cxxLogger.cc b/lib/Log4cxxLogger.cc
index fc5ae5b..e937128 100644
--- a/lib/Log4cxxLogger.cc
+++ b/lib/Log4cxxLogger.cc
@@ -59,6 +59,8 @@ class Log4CxxLogger : public Logger {
                 return log4cxx::Level::getWarn();
             case LEVEL_ERROR:
                 return log4cxx::Level::getError();
+            default:
+                return log4cxx::Level::getInfo();
         }
     }
 };

Reply via email to