Skip to content

Commit

Permalink
Merge pull request #119 from CrowCpp/actual_port
Browse files Browse the repository at this point in the history
use actual ASIO port instead of the local port variable
  • Loading branch information
The-EDev authored Apr 5, 2021
2 parents 3e43a73 + 111bef9 commit 6cdecf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/http_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ namespace crow
});
}

CROW_LOG_INFO << server_name_ << " server is running at " << bindaddr_ <<":" << port_
CROW_LOG_INFO << server_name_ << " server is running at " << bindaddr_ <<":" << acceptor_.local_endpoint().port()
<< " using " << concurrency_ << " threads";
CROW_LOG_INFO << "Call `app.loglevel(crow::LogLevel::Warning)` to hide Info level logs.";

Expand Down

0 comments on commit 6cdecf5

Please sign in to comment.