Skip to content
Permalink
Browse files

Make saving ogr layers less debug noisy

  • Loading branch information
nyalldawson committed Jan 25, 2018
1 parent c91e33d commit 723e0a1e73a24b564a4bc5940ef6453511e95f8a
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/providers/ogr/qgsogrprovider.cpp
@@ -1396,10 +1396,10 @@ bool QgsOgrProvider::addFeaturePrivate( QgsFeature &f, Flags flags )
break;

case OFTString:
QgsDebugMsg( QString( "Writing string attribute %1 with %2, encoding %3" )
.arg( qgisAttId )
.arg( attrVal.toString(),
textEncoding()->name().data() ) );
QgsDebugMsgLevel( QString( "Writing string attribute %1 with %2, encoding %3" )
.arg( qgisAttId )
.arg( attrVal.toString(),
textEncoding()->name().data() ), 3 );
OGR_F_SetFieldString( feature.get(), ogrAttId, textEncoding()->fromUnicode( attrVal.toString() ).constData() );
break;

0 comments on commit 723e0a1

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