我有一个用 Grails 编写的项目。当我从控制台运行它时
grails run-app
就像我想要的那样,我已将所有日志打印到控制台。
但是,一旦我使用 JRebel 启动它,就再也看不到日志了。只有一些最小的信息集。JVM参数是:
-javaagent:/path/to/my/jrebel.jar
-Ddisable.auto.recompile=true
-Drebel.spring_plugin=true
这可能是什么原因?如何让 JRebel 从我的应用程序打印日志(注意:这与 JRebel 日志不同 - 我对 JRebel 在做什么不感兴趣,我对我的应用程序在做什么感兴趣)。
谢谢。