JRebel removes all logging from a Grails project
I've got a project written in Grails. When I run it from a console with
grails run-app
I've got all my logs printed to the console, just as I want it.
However once I start it using JRebel,开发者_Go百科 there are no logs visible anymore. Only some minimal set of information. JVM parameters are:
-javaagent:/path/to/my/jrebel.jar
-Ddisable.auto.recompile=true
-Drebel.spring_plugin=true
What could possibly be the cause of this? How do I get JRebel to print logs from my application (NOTE: this is not the same as JRebel logs - I'm not interested in what JRebel is doing, I'm interested in what my application is doing).
Thanks.
Upgrade to 2.0. It's at M2 now and will be at RC soon, with a release in November. All classes are now reloadable in development including Groovy classes, and the reloading is smart enough to rebuild your database when a domain class changes. So there won't be a need for JRebel.
精彩评论