Skip to content
Permalink
Browse files
[server] Print QGIS version on start
  • Loading branch information
m-kuhn authored and nyalldawson committed Jan 13, 2022
1 parent c02f22c commit 1d9da9d8038440f6d4252f5f550d5244d0af42b4
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/server/qgsserver.cpp
@@ -20,6 +20,7 @@

//for CMAKE_INSTALL_PREFIX
#include "qgsconfig.h"
#include "qgsversion.h"
#include "qgsserver.h"
#include "qgsauthmanager.h"
#include "qgscapabilitiescache.h"
@@ -307,6 +308,8 @@ bool QgsServer::init()
// Configure locale
initLocale();

QgsMessageLog::logMessage( QStringLiteral( "QGIS Server Starting : %1 (%2)" ).arg( _QGIS_VERSION, QGSVERSION ), "Server", Qgis::MessageLevel::Info );

// log settings currently used
sSettings()->logSummary();

0 comments on commit 1d9da9d

Please sign in to comment.