yadavay-amzn opened a new pull request, #15918: URL: https://github.com/apache/iceberg/pull/15918
The `iceberg-rest-fixture` Docker image runs with no logging configuration, so slf4j-simple defaults to INFO level. This causes container logs to be flooded with messages like: ``` [qtp...] INFO org.apache.iceberg.BaseMetastoreCatalog - Table loaded by catalog: ... [qtp...] INFO org.apache.iceberg.BaseMetastoreTableOperations - Successfully committed to table ... ``` These fire on every REST API call, making it hard to spot actual warnings and errors. **Fix:** - Add a `simplelogger.properties` file with `WARN` as the default log level - Copy it into the Docker image alongside the JAR (slf4j-simple auto-discovers it on the classpath) Users can override the log level at runtime: ```bash docker run apache/iceberg-rest-fixture java -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG -jar iceberg-rest-adapter.jar ``` Closes #14227 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
