This message was deleted.
# community-support
s
This message was deleted.
a
I don’t think you can change the log level dynamically, from within a build script. You can set a property in
gradle.properties
to change the log level
Copy code
org.gradle.logging.level=info
https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
v
@Adam - thanks.. i think this props does the job for me...
thank you
just though - java does allow log level to be configured programatically too.. so i would expect same from graddle
v
It also allows to configure single levels using a config file, which Gradle does not unfortunately. With Gradle currently you can unfortunately only set the overall level via argument or file, or replace the whole logging logic with your own.