Commit 72a31074 authored by gejun's avatar gejun

not logging to file in an example

Change-Id: I25de6e2bedf96ebefa28477228154a000eed9f0e
parent f872f0c7
......@@ -86,10 +86,6 @@ int main(int argc, char* argv[]) {
// Parse gflags. We recommend you to use gflags as well.
google::ParseCommandLineFlags(&argc, &argv, true);
logging::LoggingSettings settings;
settings.logging_dest = logging::LOG_TO_FILE;
CHECK(logging::InitLogging(settings));
// A Channel represents a communication line to a Server. Notice that
// Channel is thread-safe and can be shared by all threads in your program.
brpc::Channel channel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment