Fix ob_admin parse partition macro meta slog fail

This commit is contained in:
JiahuaChen
2021-10-26 19:24:45 +08:00
committed by LINxiansheng
parent 188224d79b
commit 89b2701495
2 changed files with 11 additions and 2 deletions

View File

@ -34,7 +34,7 @@ int main(int argc, char *argv[])
{
int ret = 0;
OB_LOGGER.set_log_level("INFO");
OB_LOGGER.set_file_name("ob_admin.log", true, false);
OB_LOGGER.set_file_name("ob_admin.log", true, false, "ob_admin_rs.log");
const char *log_level = getenv("OB_ADMIN_LOG_LEVEL");
if (NULL != log_level) {
OB_LOGGER.set_log_level(log_level);