File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,13 @@ OPTS="$OPTS $PULSAR_EXTRA_OPTS"
98
98
# log directory & file
99
99
PULSAR_LOG_DIR=${PULSAR_LOG_DIR:- " $PULSAR_HOME /logs" }
100
100
PULSAR_LOG_APPENDER=${PULSAR_LOG_APPENDER:- " RoutingAppender" }
101
+ PULSAR_LOG_ROOT_LEVEL=${PULSAR_LOG_ROOT_LEVEL:- " info" }
101
102
PULSAR_LOG_LEVEL=${PULSAR_LOG_LEVEL:- " info" }
102
103
PULSAR_ROUTING_APPENDER_DEFAULT=${PULSAR_ROUTING_APPENDER_DEFAULT:- " Console" }
103
104
104
105
# Configure log configuration system properties
105
106
OPTS=" $OPTS -Dpulsar.log.appender=$PULSAR_LOG_APPENDER "
106
107
OPTS=" $OPTS -Dpulsar.log.dir=$PULSAR_LOG_DIR "
107
108
OPTS=" $OPTS -Dpulsar.log.level=$PULSAR_LOG_LEVEL "
109
+ OPTS=" $OPTS -Dpulsar.log.root.level=$PULSAR_LOG_ROOT_LEVEL "
108
110
OPTS=" $OPTS -Dpulsar.routing.appender.default=$PULSAR_ROUTING_APPENDER_DEFAULT "
Original file line number Diff line number Diff line change @@ -101,12 +101,14 @@ OPTS="$OPTS $PULSAR_EXTRA_OPTS"
101
101
# log directory & file
102
102
PULSAR_LOG_DIR=${PULSAR_LOG_DIR:- " $PULSAR_HOME /logs" }
103
103
PULSAR_LOG_APPENDER=${PULSAR_LOG_APPENDER:- " Console" }
104
+ PULSAR_LOG_ROOT_LEVEL=${PULSAR_LOG_ROOT_LEVEL:- " info" }
104
105
PULSAR_LOG_LEVEL=${PULSAR_LOG_LEVEL:- " info" }
105
106
106
107
# Configure log configuration system properties
107
108
OPTS=" $OPTS -Dpulsar.log.dir=$PULSAR_LOG_DIR "
108
109
OPTS=" $OPTS -Dpulsar.log.appender=$PULSAR_LOG_APPENDER "
109
110
OPTS=" $OPTS -Dpulsar.log.level=$PULSAR_LOG_LEVEL "
111
+ OPTS=" $OPTS -Dpulsar.log.root.level=$PULSAR_LOG_ROOT_LEVEL "
110
112
111
113
# Change to PULSAR_HOME to support relative paths
112
114
cd " $PULSAR_HOME "
Original file line number Diff line number Diff line change @@ -137,9 +137,13 @@ OPTS="$OPTS $PULSAR_EXTRA_OPTS"
137
137
PULSAR_LOG_APPENDER=${PULSAR_LOG_APPENDER:- " Console" }
138
138
PULSAR_LOG_DIR=${PULSAR_LOG_DIR:- " $PULSAR_HOME /logs" }
139
139
PULSAR_LOG_FILE=${PULSAR_LOG_FILE:- " pulsar-perftest.log" }
140
+ PULSAR_LOG_ROOT_LEVEL=${PULSAR_LOG_ROOT_LEVEL:- " info" }
141
+ PULSAR_LOG_LEVEL=${PULSAR_LOG_LEVEL:- " info" }
140
142
141
143
# Configure log configuration system properties
142
144
OPTS=" $OPTS -Dpulsar.log.appender=$PULSAR_LOG_APPENDER "
145
+ OPTS=" $OPTS -Dpulsar.log.level=$PULSAR_LOG_LEVEL "
146
+ OPTS=" $OPTS -Dpulsar.log.root.level=$PULSAR_LOG_ROOT_LEVEL "
143
147
OPTS=" $OPTS -Dpulsar.log.dir=$PULSAR_LOG_DIR "
144
148
OPTS=" $OPTS -Dpulsar.log.file=$PULSAR_LOG_FILE "
145
149
You can’t perform that action at this time.
0 commit comments