File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
gcpbuildcache/src/main/kotlin/androidx/build/gradle/gcpbuildcache Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1818package androidx.build.gradle.gcpbuildcache
1919
2020import com.google.api.client.http.HttpRequestInitializer
21+ import com.google.api.client.http.HttpTransport
2122import com.google.cloud.ServiceOptions
2223import com.google.cloud.http.HttpTransportOptions
24+ import java.util.logging.Level
25+ import java.util.logging.Logger
2326
2427/* *
2528 * Sets up transport options and disables logging.
@@ -33,4 +36,12 @@ internal class GcpTransportOptions(builder: Builder) : HttpTransportOptions(buil
3336 initializer.initialize(it)
3437 }
3538 }
39+
40+ companion object {
41+ init {
42+ // Force log level to config
43+ val logger = Logger .getLogger(HttpTransport ::class .java.name)
44+ logger.level = Level .SEVERE
45+ }
46+ }
3647}
You can’t perform that action at this time.
0 commit comments