Skip to content

Commit b581a08

Browse files
committedFeb 6, 2019
Silence some noisy debug messages
1 parent eab1c31 commit b581a08

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
 

‎src/core/geocms/geonode/qgsgeonodeconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ QgsGeoNodeConnection::QgsGeoNodeConnection( const QString &name )
4848
mUri.setParam( QStringLiteral( "authcfg" ), authcfg );
4949
}
5050

51-
QgsDebugMsg( QStringLiteral( "encodedUri: '%1'." ).arg( QString( mUri.encodedUri() ) ) );
51+
QgsDebugMsgLevel( QStringLiteral( "encodedUri: '%1'." ).arg( QString( mUri.encodedUri() ) ), 4 );
5252
}
5353

5454
QgsDataSourceUri QgsGeoNodeConnection::uri() const

‎src/core/qgsowsconnection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ QgsOwsConnection::QgsOwsConnection( const QString &service, const QString &connN
3838
: mConnName( connName )
3939
, mService( service )
4040
{
41-
QgsDebugMsg( "theConnName = " + connName );
41+
QgsDebugMsgLevel( "theConnName = " + connName, 4 );
4242

4343
QgsSettings settings;
4444

@@ -82,7 +82,7 @@ QgsOwsConnection::QgsOwsConnection( const QString &service, const QString &connN
8282
addWfsConnectionSettings( mUri, key );
8383
}
8484

85-
QgsDebugMsg( QStringLiteral( "encoded uri: '%1'." ).arg( QString( mUri.encodedUri() ) ) );
85+
QgsDebugMsgLevel( QStringLiteral( "encoded uri: '%1'." ).arg( QString( mUri.encodedUri() ) ), 4 );
8686
}
8787

8888
QString QgsOwsConnection::connectionName() const

‎src/gui/qgsbrowserdockwidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ void QgsBrowserDockWidget::refreshModel( const QModelIndex &index )
305305
QgsDataItem *item = mModel->dataItem( index );
306306
if ( item )
307307
{
308-
QgsDebugMsg( "path = " + item->path() );
308+
QgsDebugMsgLevel( "path = " + item->path(), 4 );
309309
}
310310
else
311311
{
312-
QgsDebugMsg( QStringLiteral( "invalid item" ) );
312+
QgsDebugMsgLevel( QStringLiteral( "invalid item" ), 4 );
313313
}
314314

315315
if ( item && ( item->capabilities2() & QgsDataItem::Fertile ) )

‎src/providers/wfs/qgswfsconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ QgsWfsConnection::QgsWfsConnection( const QString &connName )
5353
settings.value( key + "/" + QgsWFSConstants::SETTINGS_PAGING_ENABLED, true ).toBool() ? QStringLiteral( "true" ) : QStringLiteral( "false" ) );
5454
}
5555

56-
QgsDebugMsg( QStringLiteral( "WFS full uri: '%1'." ).arg( QString( mUri.uri() ) ) );
56+
QgsDebugMsgLevel( QStringLiteral( "WFS full uri: '%1'." ).arg( QString( mUri.uri() ) ), 4 );
5757
}
5858

5959
QStringList QgsWfsConnection::connectionList()

0 commit comments

Comments
 (0)
Please sign in to comment.