Mercurial > hg > orthanc
changeset 2635:33c0b4da8cb2 jobs
integration mainline->jobs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 May 2018 18:54:38 +0200 |
parents | 2406ae891747 (current diff) 442e7ef5cc41 (diff) |
children | c72eb844758c |
files | Core/HttpServer/MongooseServer.cpp OrthancServer/main.cpp |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Fri May 25 18:09:27 2018 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Fri May 25 18:54:38 2018 +0200 @@ -997,6 +997,13 @@ { throw OrthancException(ErrorCode_HttpPortInUse); } + + LOG(WARNING) << "HTTP server listening on port: " << GetPortNumber() + << " (HTTPS encryption is " + << (IsSslEnabled() ? "enabled" : "disabled") + << ", remote access is " + << (IsRemoteAccessAllowed() ? "" : "not ") + << "allowed)"; } }
--- a/OrthancServer/main.cpp Fri May 25 18:09:27 2018 +0200 +++ b/OrthancServer/main.cpp Fri May 25 18:54:38 2018 +0200 @@ -776,9 +776,6 @@ } httpServer.Start(); - LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber() - << " (HTTPS encryption is " - << (httpServer.IsSslEnabled() ? "enabled" : "disabled") << ")"; bool restart = WaitForExit(context, restApi);