Logging level under maven surefire

前端 未结 4 1177
感情败类
感情败类 2020-12-06 09:31

I\'m unable to adjust java logging\'s logging level. I\'m using maven surefire (mvn test), and trying to adjust from the default INFO to e.g. FINEST.

I have logging.

4条回答
  •  一个人的身影
    2020-12-06 10:13

    You need to specifiy your handlers in the logging file

    handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
    

    then it should work

提交回复
热议问题