From f7ebe8e8564108c020fc0d89b833635d210b38a8 Mon Sep 17 00:00:00 2001 From: Vasu Nori Date: Mon, 27 Sep 2010 11:37:54 -0700 Subject: [PATCH] bug:2868568 reduce the message level from error to warning it is a rather harmless message. no need to set ERROR level and no need to make it sound so fatal Change-Id: I9d00563a3b869d8223cb21a98014c02535021d11 --- core/jni/android_database_SQLiteDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/android_database_SQLiteDatabase.cpp b/core/jni/android_database_SQLiteDatabase.cpp index d9300658858e7..05e1ff3711ce7 100644 --- a/core/jni/android_database_SQLiteDatabase.cpp +++ b/core/jni/android_database_SQLiteDatabase.cpp @@ -91,7 +91,7 @@ static void registerLoggingFunc(const char *path) { LOGV("Registering sqlite logging func \n"); int err = sqlite3_config(SQLITE_CONFIG_LOG, &sqlLogger, (void *)createStr(path, 0)); if (err != SQLITE_OK) { - LOGE("sqlite_config failed error_code = %d. THIS SHOULD NEVER occur.\n", err); + LOGW("sqlite returned error = %d when trying to register logging func.\n", err); return; } loggingFuncSet = true;