| Index: net/tools/quic/quic_server.cc
|
| diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
|
| index bc1ae8a607d697dcc3cec79a5b89d5851abc48ac..69dd41a9b42458c830ec60b1a7417651954cc1fb 100644
|
| --- a/net/tools/quic/quic_server.cc
|
| +++ b/net/tools/quic/quic_server.cc
|
| @@ -20,6 +20,7 @@
|
| #include "net/quic/core/quic_crypto_stream.h"
|
| #include "net/quic/core/quic_data_reader.h"
|
| #include "net/quic/core/quic_packets.h"
|
| +#include "net/quic/platform/api/quic_logging.h"
|
| #include "net/tools/quic/platform/impl/quic_epoll_clock.h"
|
| #include "net/tools/quic/platform/impl/quic_socket_utils.h"
|
| #include "net/tools/quic/quic_dispatcher.h"
|
| @@ -117,15 +118,16 @@ bool QuicServer::CreateUDPSocketAndListen(const QuicSocketAddress& address) {
|
| sockaddr_storage addr = address.generic_address();
|
| int rc = bind(fd_, reinterpret_cast<sockaddr*>(&addr), sizeof(addr));
|
| if (rc < 0) {
|
| - LOG(ERROR) << "Bind failed: " << strerror(errno);
|
| + QUIC_LOG(ERROR) << "Bind failed: " << strerror(errno);
|
| return false;
|
| }
|
| - LOG(INFO) << "Listening on " << address.ToString();
|
| + QUIC_LOG(INFO) << "Listening on " << address.ToString();
|
| port_ = address.port();
|
| if (port_ == 0) {
|
| QuicSocketAddress address;
|
| if (address.FromSocket(fd_) != 0) {
|
| - LOG(ERROR) << "Unable to get self address. Error: " << strerror(errno);
|
| + QUIC_LOG(ERROR) << "Unable to get self address. Error: "
|
| + << strerror(errno);
|
| }
|
| port_ = address.port();
|
| }
|
|
|