apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
1.09k stars 343 forks source link

[Improvement] Class path contains multiple SLF4J providers #5598

Closed mchades closed 3 days ago

mchades commented 3 days ago

What would you like to be improved?

when deploy and start the Gravitino server, the log indicates there are multiple SLF4J providers

LF4J: Class path contains multiple SLF4J providers. SLF4J: Found provider [org.slf4j.simple.SimpleServiceProvider@73a8dfcc] SLF4J: Found provider [org.apache.logging.slf4j.SLF4JServiceProvider@ea30797] SLF4J: See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual provider is of type [org.slf4j.simple.SimpleServiceProvider@73a8dfcc]

If the SimpleServiceProvider is selected, the log will output to the gravitino-server.out instead of gravitino-server.log

How should we improve?

found the SimpleServiceProvider dependency and remove it from the server class path