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
This commit is contained in:
Vasu Nori
2010-09-27 11:37:54 -07:00
parent a6c2ddbf2a
commit f7ebe8e856

View File

@@ -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;