Skip to content

Commit

Permalink
Silence some noisy debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 6, 2019
1 parent eab1c31 commit b581a08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/core/geocms/geonode/qgsgeonodeconnection.cpp
Expand Up @@ -48,7 +48,7 @@ QgsGeoNodeConnection::QgsGeoNodeConnection( const QString &name )
mUri.setParam( QStringLiteral( "authcfg" ), authcfg );
}

QgsDebugMsg( QStringLiteral( "encodedUri: '%1'." ).arg( QString( mUri.encodedUri() ) ) );
QgsDebugMsgLevel( QStringLiteral( "encodedUri: '%1'." ).arg( QString( mUri.encodedUri() ) ), 4 );
}

QgsDataSourceUri QgsGeoNodeConnection::uri() const
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsowsconnection.cpp
Expand Up @@ -38,7 +38,7 @@ QgsOwsConnection::QgsOwsConnection( const QString &service, const QString &connN
: mConnName( connName )
, mService( service )
{
QgsDebugMsg( "theConnName = " + connName );
QgsDebugMsgLevel( "theConnName = " + connName, 4 );

QgsSettings settings;

Expand Down Expand Up @@ -82,7 +82,7 @@ QgsOwsConnection::QgsOwsConnection( const QString &service, const QString &connN
addWfsConnectionSettings( mUri, key );
}

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

QString QgsOwsConnection::connectionName() const
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsbrowserdockwidget.cpp
Expand Up @@ -305,11 +305,11 @@ void QgsBrowserDockWidget::refreshModel( const QModelIndex &index )
QgsDataItem *item = mModel->dataItem( index );
if ( item )
{
QgsDebugMsg( "path = " + item->path() );
QgsDebugMsgLevel( "path = " + item->path(), 4 );
}
else
{
QgsDebugMsg( QStringLiteral( "invalid item" ) );
QgsDebugMsgLevel( QStringLiteral( "invalid item" ), 4 );
}

if ( item && ( item->capabilities2() & QgsDataItem::Fertile ) )
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfsconnection.cpp
Expand Up @@ -53,7 +53,7 @@ QgsWfsConnection::QgsWfsConnection( const QString &connName )
settings.value( key + "/" + QgsWFSConstants::SETTINGS_PAGING_ENABLED, true ).toBool() ? QStringLiteral( "true" ) : QStringLiteral( "false" ) );
}

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

QStringList QgsWfsConnection::connectionList()
Expand Down

0 comments on commit b581a08

Please sign in to comment.