希望当前执行日志记录在karate.log文件中,而不是以前的所有执行记录中 [英] want current execution logs in karate.log file instead of all previous execution

查看:58
本文介绍了希望当前执行日志记录在karate.log文件中,而不是以前的所有执行记录中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅需要karate.log文件中的当前执行日志.实际上,所有先前的执行日志和当前的执行日志都记录在目标文件夹下的karate.log文件中.有什么方法可以仅将当前执行日志记录在karate.log文件中?请提出建议

Require only current execution logs in karate.log file. Actually all previous execution and current execution logs are getting logged in karate.log file under target folder. Is there any way to log only current execution logs in karate.log file? Please give suggestions

推荐答案

如何启动测试?如果您使用的是Maven,则在测试之前,将 mvn全新安装而不是 mvn install 即可清洁/target.

How do you launch your tests? If you're using maven, mvn clean install instead of mvn install will clean /target before the test.

这篇关于希望当前执行日志记录在karate.log文件中,而不是以前的所有执行记录中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆