Skip to content

Commit 80148c9

Browse files
committedSep 12, 2017
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
1 parent 378a9e9 commit 80148c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/geonode/qgsgeonodesourceselect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void QgsGeoNodeSourceSelect::connectToGeonodeConnection()
199199

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.