logging: log upsert conflicts at verbose

Room's @Upsert insert-then-update fires a uniqueness conflict on every existing-row write (e.g. each playback-cursor save), which is normal control flow and flooded the debug file at debug level. Move it below the file threshold so the shared log stays quiet.
This commit is contained in:
austinried
2026-10-09 07:58:55 +00:00
parent 9d783b2301
commit b2b02e7c05
+1 -1
View File
@@ -109,7 +109,7 @@ object Log {
val failure = execution.error
if (failure != null) {
if (isUpsertConflict(execution.sql, failure)) {
d("sql", "upsert fallback conflict: ${shortSql(execution.sql)}")
v("sql", "upsert fallback conflict: ${shortSql(execution.sql)}")
} else {
e("sql", "failed: ${shortSql(execution.sql)}", failure)
}