Getting rid of derby.log

前端 未结 8 784
萌比男神i
萌比男神i 2020-12-23 12:19

I\'m using the Apache Derby embedded database for unit testing in a Maven project. Unfortunately whenever I run the test I end up with the derby.log file in the

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 12:37

    Include the following in your derby.properties file:

    derby.stream.error.file=/dev/null
    

    ( or

    derby.stream.error.file=\\Device\\Null
    

    on Windows)

提交回复
热议问题