英文:
maven logging: info and error work but debug dont
问题
I wrote a maven plugin and use also logging based on org.apache.maven.plugin.logging.Log
. Info i sent and also errors do well, but no debug info although debug info from elsewhere can be seen. I use with -e
option and with -debug
option.
我编写了一个Maven插件,并且使用基于 org.apache.maven.plugin.logging.Log
的日志记录。我发送的信息和错误都正常,但是没有调试信息,尽管可以从其他地方看到调试信息。我同时使用 -e
选项和 -debug
选项。
我同时使用Maven和Maven插件API的版本为3.9.1。
英文:
I wrote a maven plugin and use also logging based on org.apache.maven.plugin.logging.Log
. Info i sent and also errors do well, but no debug info although debug info from elsewhere can be seen. I use with -e
option and with -debug
option.
I use both maven and the maven plugin api with version 3.9.1.
答案1
得分: 1
There is no -debug
option. See mvn --help
:
-X,--debug 生成执行调试输出
注意双破折号。
英文:
There is no -debug
option. See mvn --help
:
-X,--debug Produce execution debug output
Note the double hyphen.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论