Skip to content

Commit

Permalink
suppress log
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Nov 13, 2024
1 parent c21a771 commit 132b267
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/connector/src/connector_common/iceberg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ impl IcebergCommon {
"org.apache.iceberg.aws.s3.S3FileIO".to_string(),
);

// suppress log of S3FileIO like: Unclosed S3FileIO instance created by...
java_catalog_configs
.insert("init-creation-stacktrace".to_string(), "false".to_string());

if let Some(endpoint) = &self.endpoint {
java_catalog_configs
.insert("s3.endpoint".to_string(), endpoint.clone().to_string());
Expand Down

0 comments on commit 132b267

Please sign in to comment.