[td-225] change error to warning

This commit is contained in:
Haojun Liao 2020-06-01 23:31:05 +08:00
parent 0944c0cd84
commit cf840735e2
1 changed files with 2 additions and 2 deletions

View File

@ -245,10 +245,10 @@ static void taosGetSystemLocale() { // get and set default locale
strncpy(tsCharset, revisedCharset, tListLen(tsCharset));
free(revisedCharset);
uError("charset not configured, set to system default:%s", tsCharset);
uWarn("charset not configured, set to system default:%s", tsCharset);
} else {
strcpy(tsCharset, "UTF-8");
uError("can't get locale and charset from system, set it to UTF-8");
uWarn("can't get locale and charset from system, set it to UTF-8");
}
}
}