@@ -86,6 +86,7 @@ def setPath():
86
86
PHOENIX_LOADBALANCER_JAR_PATTERN = "load-balancer-*[!t][!e][!s][!t][!s].jar"
87
87
SQLLINE_WITH_DEPS_PATTERN = "sqlline-*-jar-with-dependencies.jar"
88
88
SLF4J_BACKEND_JAR_PATTERN = "log4j-slf4j*.jar"
89
+ JCL_OVER_SLF4J_PATTERN = "jcl-over-slf4j*.jar"
89
90
LOGGING_JAR_PATTERN = "log4j-core*.jar"
90
91
LOGGING_JAR_PATTERN2 = "log4j-api*.jar"
91
92
LOGGING_JAR_PATTERN3 = "log4j-1.2-api*.jar"
@@ -173,6 +174,9 @@ def setPath():
173
174
if slf4j_backend_jar is None or slf4j_backend_jar == "" :
174
175
slf4j_backend_jar = findFileInPathWithoutRecursion (SLF4J_BACKEND_JAR_PATTERN , os .path .join (current_dir , ".." ,"lib" ))
175
176
177
+ global jcl_over_slf4j
178
+ jcl_over_slf4j = findFileInPathWithoutRecursion (JCL_OVER_SLF4J_PATTERN , os .path .join (current_dir , ".." ,"lib" ))
179
+
176
180
global logging_jar
177
181
logging_jar = os .environ .get (OVERRIDE_LOGGING )
178
182
if logging_jar is None or logging_jar == "" :
@@ -292,6 +296,7 @@ def common_sqlline_args(parser):
292
296
print ("phoenix_thin_client_jar:" , phoenix_thin_client_jar )
293
297
print ("sqlline_with_deps_jar" , sqlline_with_deps_jar )
294
298
print ("slf4j_backend_jar:" , slf4j_backend_jar )
299
+ print ("jcl_over_slf4j:" , jcl_over_slf4j )
295
300
print ("java_home:" , java_home )
296
301
print ("java:" , java )
297
302
print ("jvm_module_flags:" , jvm_module_flags )
0 commit comments