Skip to content
Permalink
Browse files

lower debug msg noise

  • Loading branch information
3nids committed Oct 15, 2018
1 parent 6396571 commit bf2dae29939e0ac6fb1a14253b598f2dec6d97d8
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsmaprenderercustompainterjob.cpp
  2. +1 −1 src/core/qgsmaprendererjob.cpp
@@ -312,7 +312,7 @@ void QgsMapRendererCustomPainterJob::doRender()
mPainter->drawImage( 0, 0, *mLabelJob.img );
}

QgsDebugMsg( "Rendering completed in (seconds): " + QString( "%1" ).arg( renderTime.elapsed() / 1000.0 ) );
QgsDebugMsgLevel( "Rendering completed in (seconds): " + QString( "%1" ).arg( renderTime.elapsed() / 1000.0 ), 2 );
}


@@ -405,7 +405,7 @@ void QgsMapRendererJob::cleanupJobs( LayerRenderJobs &jobs )

if ( mCache && !job.cached && !job.context.renderingStopped() && job.layer )
{
QgsDebugMsg( "caching image for " + ( job.layer ? job.layer->id() : QString() ) );
QgsDebugMsgLevel( "caching image for " + ( job.layer ? job.layer->id() : QString() ), 2 );
mCache->setCacheImage( job.layer->id(), *job.img, QList< QgsMapLayer * >() << job.layer );
}

0 comments on commit bf2dae2

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