Hi to all,
we are using gradle in all projects of our company having the requirement to have all log information be written to logfile build.log in our project path, always one loglevel more than written to console.
- Start your build with no parameter -> INFO to file
- Start your build with --info -> DEBUG to file
- Start your build with --debug -> TRACE to file
We have worked around by configuring logback programmatically in our plugins at the very beginning of the build. Now switching to gradle 2.4 we noticed, that logback was replaced by minlog. So we rethought this workaround and we came to the question, if it would not be possible to have some official api to configure logging both for gradle built in plugins and our own plugins being not the only one to have this needs.
Would be nice, if you could tell me, how to handle this problem.