You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2021/07/16 01:54:01 UTC
[incubator-inlong] 02/02: Revert "Error log, should be use log4j"
This is an automated email from the ASF dual-hosted git repository.
gosonzhang pushed a commit to branch revert-551-pr_0715
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
commit c7757663afa3f10d88082dad4df90bcb08ad644c
Author: gosonzhang <46...@qq.com>
AuthorDate: Fri Jul 16 01:53:51 2021 +0000
Revert "Error log, should be use log4j"
This reverts commit ea57af40366a79a8040863b7e6bfd16110a6e641.
---
.../java/org/apache/inlong/tubemq/server/tools/MasterStartup.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/MasterStartup.java b/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/MasterStartup.java
index fd8f6e1..eabe4d4 100644
--- a/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/MasterStartup.java
+++ b/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/MasterStartup.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- * <p>
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,7 @@ public class MasterStartup {
// get configure file path
ProcessResult result = new ProcessResult();
if (!CliUtils.getConfigFilePath(args, result)) {
- logger.error("Master startup failed! {}", result.errInfo);
+ System.err.println(result.errInfo);
System.exit(1);
}
String configFilePath = (String) result.retData1;