proguard icon indicating copy to clipboard operation
proguard copied to clipboard

"Please correct the above warnings first." but no warning above

Open nbauma109 opened this issue 3 years ago • 3 comments

The warnings are hidden by default and I need to launch gradle with --info to display them. The issue has been introduced by 7.2.0-beta3 and is still there in beta6. It was still fine in beta2. Or it's not a bug, it's a feature ?

nbauma109 avatar Jan 21 '22 13:01 nbauma109

Hi @nbauma109 . This is due to the switch to using log4j for logging instead of writing directly to stdout/stderr.

It's a feature, since the log output is more controllable. However, the "Please correct the above warnings first." wording should probably be updated.

It looks like Gradle already suggests to run with a different logging level if this exception occurs e.g. I see the following:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

mrjameshamilton avatar Jan 21 '22 18:01 mrjameshamilton

7.2.1 GUI didn't fix :(

nuym avatar May 21 '22 23:05 nuym

I hope that these warnings can be output by default, because these will cause the task execution to fail and nothing will happen, but it will be very confusing to only output the sentence "Please correct the above warnings first", but you must manually add --info to change the logging level.

XhstormR avatar Sep 26 '23 04:09 XhstormR