diff Core/HttpServer/MongooseServer.cpp @ 2635:33c0b4da8cb2 jobs

integration mainline->jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 May 2018 18:54:38 +0200
parents 2f3007bf0708 40c7926b75f8
children c7313e1f7644
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)";
     }
   }