Is is possible to modify the maven console output to hide the [INFO] logging?

前端 未结 4 800
一生所求
一生所求 2020-12-30 19:24

I was wondering if it was possible to modify the output from maven to for example hide the lines that start with [INFO] or to be able to see lines that start with [DEBUG]?

4条回答
  •  庸人自扰
    2020-12-30 19:47

    You can activate debug output using -X or --debug. For example:

    mvn -X install
    

    You can hide INFO messages using -q or --quiet. For example:

    mvn -q install
    

提交回复
热议问题