Skip to content

Commit c5f98f9

Browse files
committed
fix: replace LOG(NOTICE) with LOG(INFO) in UT for compatibility
Signed-off-by: yexiaochuan <tap91624@gmail.com>
1 parent 84149df commit c5f98f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/brpc_alpn_protocol_unittest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
#include "gtest/gtest.h"
2222
#include "gflags/gflags.h"
23-
2423
#include "brpc/channel.h"
2524
#include "brpc/details/ssl_helper.h"
2625
#include "brpc/server.h"
2726
#include "butil/endpoint.h"
2827
#include "butil/fd_guard.h"
28+
#include "butil/logging.h"
2929
#include "echo.pb.h"
3030

3131
DEFINE_string(listen_addr, "0.0.0.0:8011", "Server listen address.");
@@ -48,7 +48,7 @@ class EchoServerImpl : public test::EchoService {
4848
response->set_message(request->message());
4949

5050
brpc::Controller* cntl = static_cast<brpc::Controller*>(controller);
51-
LOG(NOTICE) << "protocol:" << cntl->request_protocol();
51+
LOG(INFO) << "protocol:" << cntl->request_protocol();
5252
}
5353
};
5454

0 commit comments

Comments
 (0)