Reputation: 103
I have this configuration in my build
local {
homeDir = file('/opt/tomcat')
outputFile = file('build/output.log')
timeout = 60000
containerProperties {
property 'cargo.tomcat.ajp.port', 9099
}
}
But when I remove "outputFile" logging does not appear in Eclipse Console. What can I do?
Upvotes: 4
Views: 977
Reputation: 2658
If you are working with STS Gradle Plugin, you have two alternatives:
Right click on your project, then select Run As >> Gradle Build.. and you must to do this:
Remember that you mustn't set any output file. So, you have to remove this line:
outputFile = file('build/output.log')
Upvotes: 0
Reputation: 33476
You can get the appropriate messages from Cargo if you run your Cargo task with the info log level e.g. gradle cargoRunLocal -i
.
Upvotes: 3