Skip to content
Permalink
Browse files

Server: lower some log levels

  • Loading branch information
elpaso authored and nyalldawson committed Jan 3, 2021
1 parent 1dd80e9 commit 20177be253ef17bdf1bdecc15ca1953316d210bd
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/server/qgsserviceregistry.cpp
  2. +1 −1 src/server/services/landingpage/qgslandingpageutils.cpp
@@ -360,7 +360,7 @@ bool QgsServiceRegistry::registerApi( QgsServerApi *api )
return false;
}

QgsMessageLog::logMessage( QStringLiteral( "Adding API %1 %2" ).arg( name, version ) );
QgsMessageLog::logMessage( QStringLiteral( "Adding API %1 %2" ).arg( name, version ), QString(), Qgis::MessageLevel::Info );
mApis.insert( key, std::shared_ptr<QgsServerApi>( api ) );

// Check the default version
@@ -97,7 +97,7 @@ QMap<QString, QString> QgsLandingPageUtils::projects( const QgsServerSettings &s
const QString fullPath { path + '/' + f };
const auto projectHash { QCryptographicHash::hash( fullPath.toUtf8(), QCryptographicHash::Md5 ).toHex() };
AVAILABLE_PROJECTS[ projectHash ] = fullPath;
QgsMessageLog::logMessage( QStringLiteral( "Adding filesystem project '%1' with id '%2'" ).arg( QFileInfo( f ).fileName(), QString::fromUtf8( projectHash ) ), QStringLiteral( "Landing Page" ), Qgis::MessageLevel::Warning );
QgsMessageLog::logMessage( QStringLiteral( "Adding filesystem project '%1' with id '%2'" ).arg( QFileInfo( f ).fileName(), QString::fromUtf8( projectHash ) ), QStringLiteral( "Landing Page" ), Qgis::MessageLevel::Info );
}
}
}

0 comments on commit 20177be

Please sign in to comment.
You can’t perform that action at this time.