You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm using gradle build cache with gcs and run gradle build with --info flag, then noisy binary log is printed.
And maybe CONFIG level of java.util.logging is mapped to INFO level of gradle logging system.
Describe the solution you'd like
I think generally http request body is not static information, and CONFIG level is not appropriate.
CONFIG messages are intended to provide a variety of static configuration information, to assist in debugging problems that may be associated with particular configurations. For example, CONFIG message might include the CPU type, the graphics depth, the GUI look-and-feel, etc. This level is initialized to 700.
Is your feature request related to a problem? Please describe.
I'm using gradle build cache with gcs and run gradle build with
--info
flag, then noisy binary log is printed.like
I guess that this log is printed by HttpRequest.java and LoggingByteArrayOutputStream.java
https://github.com/googleapis/google-http-java-client/blob/main/google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java#L891
google-http-java-client/google-http-client/src/main/java/com/google/api/client/util/LoggingByteArrayOutputStream.java
Line 107 in 5ddb634
And maybe CONFIG level of java.util.logging is mapped to INFO level of gradle logging system.
Describe the solution you'd like
I think generally http request body is not static information, and CONFIG level is not appropriate.
https://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html#CONFIG
FINE, FINER or FINEST maybe appropriate.
Describe alternatives you've considered
I couldn't find out a workaround, the way to set log level for specific logger in gradle...
The text was updated successfully, but these errors were encountered: