Abacn commented on code in PR #38588:
URL: https://github.com/apache/beam/pull/38588#discussion_r3283182404
##########
sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/extensions/gcp/util/GcsUtilV1.java:
##########
@@ -729,6 +731,14 @@ public WritableByteChannel create(GcsPath path,
CreateOptions options) throws IO
GoogleCloudStorage createGoogleCloudStorage(
GoogleCloudStorageOptions options, Storage storage, Credentials
credentials)
throws IOException {
+ // Suppress log spams in gcsio 3.0
+ if (overwriteLog.compareAndSet(false, true)) {
+ java.util.logging.Logger gcsLogger =
+ java.util.logging.Logger.getLogger(
+ "com.google.cloud.hadoop.gcsio.GoogleCloudStorageImpl");
+ gcsLogger.setLevel(java.util.logging.Level.SEVERE);
+ }
Review Comment:
The spamming log is a WARN log, see PR description
--
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]