Skip to content

Commit

Permalink
More debug noise levels
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 3, 2021
1 parent 18b687b commit 3e3f169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/providers/ogr/qgsogrtransaction.cpp
Expand Up @@ -53,7 +53,7 @@ bool QgsOgrTransaction::executeSql( const QString &sql, QString &errorMsg, bool
createSavepoint( err );
}

QgsDebugMsg( QStringLiteral( "Transaction sql: %1" ).arg( sql ) );
QgsDebugMsgLevel( QStringLiteral( "Transaction sql: %1" ).arg( sql ), 2 );
if ( !mSharedDS->executeSQLNoReturn( sql ) )
{
errorMsg = CPLGetLastErrorMsg();
Expand All @@ -73,7 +73,7 @@ bool QgsOgrTransaction::executeSql( const QString &sql, QString &errorMsg, bool
emit dirtied( sql, name );
}

QgsDebugMsg( QStringLiteral( "... ok" ) );
QgsDebugMsgLevel( QStringLiteral( "... ok" ), 2 );
return true;
}

Expand Down

0 comments on commit 3e3f169

Please sign in to comment.