diff --git a/src/server/dfly_main.cc b/src/server/dfly_main.cc index 53c46b6..ecc5f04 100644 --- a/src/server/dfly_main.cc +++ b/src/server/dfly_main.cc @@ -119,7 +119,7 @@ bool RunEngine(ProactorPool* pool, AcceptServer* acceptor) { error_code ec = acceptor->AddListener(bind_addr, port, main_listener); - LOG_IF(FATAL, ec) << "Cound not open port " << port << ", error: " << ec.message(); + LOG_IF(FATAL, ec) << "Could not open port " << port << ", error: " << ec.message(); if (mc_port > 0) { acceptor->AddListener(mc_port, new Listener{Protocol::MEMCACHE, &service}); @@ -166,6 +166,8 @@ Usage: dragonfly [FLAGS] MainInitGuard guard(&argc, &argv); + LOG(INFO) << "Starting dragonfly " << GetVersion(); + struct sigaction act; act.sa_handler = sigill_hdlr; sigemptyset(&act.sa_mask);