Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 2633:40c7926b75f8
log about remote access allowed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 May 2018 18:53:47 +0200 |
parents | 010577b52f5f |
children | 33c0b4da8cb2 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Wed May 16 14:32:56 2018 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Fri May 25 18:53:47 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)"; } }