This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 698fe55662 remove unused configs in be and broker (#24021)
698fe55662 is described below

commit 698fe55662b105172a927e9b4ee1ff3422ef0eea
Author: xu tao <[email protected]>
AuthorDate: Sat Sep 9 08:24:50 2023 +0800

    remove unused configs in be and broker (#24021)
---
 conf/be.conf                                       |  2 --
 .../conf/apache_hdfs_broker.conf                   | 11 ----------
 .../org/apache/doris/broker/hdfs/BrokerConfig.java | 25 ----------------------
 3 files changed, 38 deletions(-)

diff --git a/conf/be.conf b/conf/be.conf
index 5077cc9f13..e91eb7d52d 100644
--- a/conf/be.conf
+++ b/conf/be.conf
@@ -49,8 +49,6 @@ ssl_certificate_path = "$DORIS_HOME/conf/cert.pem"
 # path of private key in PEM format.
 ssl_private_key_path = "$DORIS_HOME/conf/key.pem"
 
-# enable auth check
-enable_auth = false
 
 # Choose one if there are more than one ip except loopback address. 
 # Note that there should at most one ip match this list.
diff --git a/fs_brokers/apache_hdfs_broker/conf/apache_hdfs_broker.conf 
b/fs_brokers/apache_hdfs_broker/conf/apache_hdfs_broker.conf
index e023067cf0..4aadcd4706 100644
--- a/fs_brokers/apache_hdfs_broker/conf/apache_hdfs_broker.conf
+++ b/fs_brokers/apache_hdfs_broker/conf/apache_hdfs_broker.conf
@@ -20,8 +20,6 @@
 ## see 
fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/BrokerConfig.java
 #####################################################################
 
-# INFO, WARNING, ERROR, FATAL
-# sys_log_level = INFO
 
 # the thrift rpc port
 broker_ipc_port = 8000
@@ -29,12 +27,3 @@ broker_ipc_port = 8000
 # client session will be deleted if not receive ping after this time
 client_expire_seconds = 3600
 
-# Advanced configurations
-# sys_log_dir = ${BROKER_HOME}/log
-# sys_log_roll_num = 30
-# sys_log_roll_mode = SIZE-MB-1024
-# sys_log_verbose_modules = org.apache.doris
-# audit_log_dir = ${BROKER_HOME}/log
-# audit_log_roll_num = 10
-# audit_log_roll_mode = TIME-DAY
-# audit_log_modules =
diff --git 
a/fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/BrokerConfig.java
 
b/fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/BrokerConfig.java
index aa91b9d393..b5d4ca996f 100644
--- 
a/fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/BrokerConfig.java
+++ 
b/fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/BrokerConfig.java
@@ -33,29 +33,4 @@ public class BrokerConfig extends ConfigBase {
 
     @ConfField
     public static int broker_ipc_port = 8000;
-
-    @ConfField
-    public static String sys_log_dir = System.getenv("BROKER_HOME") + "/log";
-    @ConfField
-    public static String sys_log_level = "INFO"; // INFO, WARNING, ERROR, FATAL
-    @ConfField
-    public static String sys_log_roll_mode = "SIZE-MB-1024"; // TIME-DAY
-                                                             // TIME-HOUR
-                                                             // SIZE-MB-nnn
-    @ConfField
-    public static int sys_log_roll_num = 30; // the config doesn't work if
-                                             // rollmode is TIME-*
-    @ConfField
-    public static String audit_log_dir = System.getenv("BROKER_HOME") + "/log";
-    @ConfField
-    public static String[] audit_log_modules = {};
-    @ConfField
-    public static String audit_log_roll_mode = "TIME-DAY"; // TIME-DAY 
TIME-HOUR
-                                                           // SIZE-MB-nnn
-    @ConfField
-    public static int audit_log_roll_num = 10; // the config doesn't work if
-                                               // rollmode is TIME-*
-    // verbose modules. VERBOSE level is implemented by log4j DEBUG level.
-    @ConfField
-    public static String[] sys_log_verbose_modules = { "org.apache.doris" };
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to