From fb74c5bd98f73949baa4493147de9969db89d685 Mon Sep 17 00:00:00 2001 From: xiaoleizi2016 Date: Sun, 2 Apr 2023 17:07:21 +0800 Subject: [PATCH] add some log --- src/obproxy/utils/ob_layout.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/obproxy/utils/ob_layout.cpp b/src/obproxy/utils/ob_layout.cpp index 3e9be43..466b12b 100644 --- a/src/obproxy/utils/ob_layout.cpp +++ b/src/obproxy/utils/ob_layout.cpp @@ -224,9 +224,10 @@ int ObLayout::construct_dirs() } else if (OB_FAIL(construct_single_dir(CONF_PATH, conf_dir_))) { MPRINT("fail to construct .conf dir, ret=%d", ret); } else if (OB_FAIL(construct_single_dir(CONTROL_CONFIG_PATH, control_config_dir_))) { - MPRINT("fail to construct .conf dir, ret=%d", ret); + MPRINT("fail to construct control-config dir, ret=%d", ret); } else if (OB_FAIL(construct_single_dir(DBCONFIG_PATH, dbconfig_dir_))) { - } else { } + MPRINT("fail to construct sharding-config dir, ret=%d", ret); + } return ret; } -- GitLab