Skip to content
Permalink
Browse files

Silence some noisy debug messages

(cherry picked from commit b581a08)
  • Loading branch information
nyalldawson committed Feb 7, 2019
1 parent ab6057f commit 0a1580929fef83fee3c1fd221a15d92e7ff66444
@@ -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
@@ -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;

@@ -75,7 +75,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
@@ -309,11 +309,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 ) )
@@ -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()

0 comments on commit 0a15809

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