【jmeter-maven-plugin】四、日志配置
2017-11-10 13:43
316 查看
日志级别
如何<overrideRootLogLevel>
您可以指定用于调试目的的根日志级别<project>
[...]
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<id>jmeter-tests</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<overrideRootLogLevel>debug</overrideRootLogLevel>
</configuration>
</plugin>
</plugins>
</build>
[...]
</project>
设置根日志级别将始终覆盖各个类别日志级别的任何设置(因此,如果<overrideRootLogLevel>设置在其他地方设置的所有类别日志级别将被忽略。
高级日志配置
如果你添加一个“log4j2.xml”,<confFilesDirectory>它现在将被复制到/ bin文件夹中。如果不存在,将使用JMeter提供的默认值。
个别日志级别
您可以通过在jmeter.properties文件中设置它们来覆盖单个日志级别。如果要在POM中覆盖它们,请参阅向<propertiesJMeter>添加其他属性。相关文章推荐
- Jmeter-maven-plugin高级配置之选择测试脚本
- Jmeter-maven-plugin高级配置之选择测试脚本(转)
- 【jmeter-maven-plugin】二、高级配置之 -- 选择测试脚本
- 【jmeter-maven-plugin】六、代理配置+远程服务器配置
- 【jmeter-maven-plugin】三、高级配置之 -- 检测结果
- 【jmeter-maven-plugin】一、基本配置+添加附加库
- Jmeter-maven-plugin高级配置之分布式设置
- Jmeter-maven-plugin高级配置之压测结果文件格式
- maven-assembly-plugin 打包可执行jar(fat jar)和配置文件与jar同时打包部署
- eclipse Maven plugin 配置
- maven-springmvc-mybatis-log4j-mysql整合配置-日志配置输出执行SQL
- maven常用插件plugin配置详解
- Maven配置maven-eclipse-plugin(mvn eclipse:eclipse报错问题)
- eclipse maven plugin 插件 安装 和 配置
- maven-jetty-plugin插件的配置
- idea maven项目日志配置
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- maven-war-plugin 插件打包时,src/main/java 目录下mybatis的映射文件如何配置
- Jmeter-Maven-Plugin高级应用:Remote Server Configuration