Skip to content
Permalink
Browse files

Use QgsDebugMsg instead of QgsMessageLog for non-error feedback

QgsMessageLog should only be used for errors or warnings,
not 'everything is working ok' type debug messages
  • Loading branch information
nyalldawson committed Sep 5, 2017
1 parent 378a9e9 commit 80148c983bfd2f5bfa0f46fa31ea85c678e5807b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/geonode/qgsgeonodesourceselect.cpp
@@ -199,7 +199,7 @@ void QgsGeoNodeSourceSelect::connectToGeonodeConnection()

if ( !layers.empty() )
{
QgsMessageLog::logMessage( QStringLiteral( "Success, non empty layers %1" ).arg( layers.count( ) ), tr( "GeoNode" ) );
QgsDebugMsg( QStringLiteral( "Success, non empty layers %1" ).arg( layers.count( ) ) );
}
else
{
@@ -479,7 +479,7 @@ void QgsGeoNodeSourceSelect::addButtonClicked()
uri += QStringLiteral( " table=\"\"" );
uri += QStringLiteral( " sql=" );

QgsMessageLog::logMessage( "Add WFS from GeoNode : " + uri + " and typename: " + typeName, tr( "GeoNode" ) );
QgsDebugMsg( "Add WFS from GeoNode : " + uri + " and typename: " + typeName );
emit addWfsLayer( uri, typeName, "WFS" );
}
else if ( webServiceType == "XYZ" )

0 comments on commit 80148c9

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