Skip to content
Permalink
Browse files

Quieten some overlay debug noisy methods

  • Loading branch information
nyalldawson committed Feb 9, 2018
1 parent e1876f5 commit 75d88afbb68f510d6e45b58233ad790fc6e62dcd
@@ -406,9 +406,9 @@ QgsRectangle QgsMapSettings::layerExtentToOutputExtent( const QgsMapLayer *layer
QgsCoordinateTransform ct = layerTransform( layer );
if ( ct.isValid() )
{
QgsDebugMsg( QString( "sourceCrs = " + ct.sourceCrs().authid() ) );
QgsDebugMsg( QString( "destCRS = " + ct.destinationCrs().authid() ) );
QgsDebugMsg( QString( "extent = " + extent.toString() ) );
QgsDebugMsgLevel( QString( "sourceCrs = " + ct.sourceCrs().authid() ), 3 );
QgsDebugMsgLevel( QString( "destCRS = " + ct.destinationCrs().authid() ), 3 );
QgsDebugMsgLevel( QString( "extent = " + extent.toString() ), 3 );
extent = ct.transformBoundingBox( extent );
}
}
@@ -417,7 +417,7 @@ QgsRectangle QgsMapSettings::layerExtentToOutputExtent( const QgsMapLayer *layer
QgsMessageLog::logMessage( QStringLiteral( "Transform error caught: %1" ).arg( cse.what() ), QStringLiteral( "CRS" ) );
}

QgsDebugMsg( QString( "proj extent = " + extent.toString() ) );
QgsDebugMsgLevel( QString( "proj extent = " + extent.toString() ), 3 );

return extent;
}
@@ -430,9 +430,9 @@ QgsRectangle QgsMapSettings::outputExtentToLayerExtent( const QgsMapLayer *layer
QgsCoordinateTransform ct = layerTransform( layer );
if ( ct.isValid() )
{
QgsDebugMsg( QString( "sourceCrs = " + ct.sourceCrs().authid() ) );
QgsDebugMsg( QString( "destCRS = " + ct.destinationCrs().authid() ) );
QgsDebugMsg( QString( "extent = " + extent.toString() ) );
QgsDebugMsgLevel( QString( "sourceCrs = " + ct.sourceCrs().authid() ), 3 );
QgsDebugMsgLevel( QString( "destCRS = " + ct.destinationCrs().authid() ), 3 );
QgsDebugMsgLevel( QString( "extent = " + extent.toString() ), 3 );
extent = ct.transformBoundingBox( extent, QgsCoordinateTransform::ReverseTransform );
}
}
@@ -441,7 +441,7 @@ QgsRectangle QgsMapSettings::outputExtentToLayerExtent( const QgsMapLayer *layer
QgsMessageLog::logMessage( QStringLiteral( "Transform error caught: %1" ).arg( cse.what() ), QStringLiteral( "CRS" ) );
}

QgsDebugMsg( QString( "proj extent = " + extent.toString() ) );
QgsDebugMsgLevel( QString( "proj extent = " + extent.toString() ), 3 );

return extent;
}
@@ -182,7 +182,7 @@ QNetworkReply *QgsNetworkAccessManager::createRequest( QNetworkAccessManager::Op
bool ishttps = pReq->url().scheme().toLower() == QLatin1String( "https" );
if ( ishttps && !QgsApplication::authManager()->isDisabled() )
{
QgsDebugMsg( "Adding trusted CA certs to request" );
QgsDebugMsgLevel( "Adding trusted CA certs to request", 3 );
QSslConfiguration sslconfig( pReq->sslConfiguration() );
// Merge trusted CAs with any additional CAs added by the authentication methods
sslconfig.setCaCertificates( QgsAuthCertUtils::casMerge( QgsApplication::authManager()->trustedCaCertsCache(), sslconfig.caCertificates( ) ) );
@@ -79,7 +79,7 @@ bool QgsAfsSharedData::getFeature( QgsFeatureId id, QgsFeature &f, bool fetchGeo
QVariantList featuresData = queryData[QStringLiteral( "features" )].toList();
if ( featuresData.isEmpty() )
{
QgsDebugMsg( "Query returned no features" );
QgsDebugMsgLevel( "Query returned no features", 3 );
return false;
}
for ( int i = 0, n = featuresData.size(); i < n; ++i )

0 comments on commit 75d88af

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