Skip to content

Commit

Permalink
[server] Print QGIS version on start
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Jan 13, 2022
1 parent c02f22c commit 1d9da9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/qgsserver.cpp
Expand Up @@ -20,6 +20,7 @@

//for CMAKE_INSTALL_PREFIX
#include "qgsconfig.h"
#include "qgsversion.h"
#include "qgsserver.h"
#include "qgsauthmanager.h"
#include "qgscapabilitiescache.h"
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 1d9da9d

Please sign in to comment.