-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable all output in CI environment #224
Comments
You can already do that today by using the following configuration: testlogger {
logLevel 'quiet'
} https://github.com/radarsh/gradle-test-logger-plugin#change-log-level |
I tried |
Oh, maybe I haven't released it. I'll reopen it for now and look at it later. |
Well, the property is already there but it seems to have no effect as you describe. Thanks for looking into this. |
OK you can still do this using the current version. You need to set the log level for testlogger to be lower than the log level at which Gradle runs. The below are the Gradle log levels:
By default Gradle uses LIFECYCLE. The plugin also logs at this level. So if you don't want any logs to appear you have two options:
Hope that helps. |
Thanks, that works! FYI, there is a typo in your answer above:
|
Thanks. Fixed the typo :-) |
It would be nice to provide a configuration option to disable any console output by the plugin, like if the plugin was not applied to the project at all. The reason for my request is that in a CI environment, all these outputs slow down the builds :(
Of course I could conditionally add the plugin to the project based on certain system properties or so, however this would mean adjusting the project configuration at several places (e.g. where the plugin is applied and where it is configured). It would be much nicer if I just can do a
The text was updated successfully, but these errors were encountered: