Log levels Pages A
- Home
- Adding additional libraries to the CLASSPATH
- Advanced Configuration
- Basic Configuration
- Configuring the JVM, the JMeter process runs in
- FAQ
- Log levels
- modifying Properties
- Proxy Configuration
- Remote Server Configuration
- Selecting Tests to Run
- Test Results File Format
Clone this wiki locallyClone in Desktoplog levels
- How to <overrideRootLogLevel>
- Advanced Log Configuration
- Individual Log levels
How to <overrideRootLogLevel>
You can specify a root log level for debug purposes.
+---+<project> [...] <Build> <Plugins> <Plugin> <groupid>com.lazerycode.jmeter</Groupid> <artifactid>jmeter-maven-plugin</artifactid> <version>2.0.3</version > <executions> <execution> <id >jmeter-tests</id> <goals> < Goal>jmeter</goal> </goals> </ execution> </executions> <configuration> <overriderootloglevel>debug</overriderootloglevel> </ configuration> </plugin> </plugins > </build> [...] </project>+---+
Setting the root log level would always override any settings for individual category log levels (as a result if the <ov Erriderootloglevel> is set all category log levels set elsewhere would be ignored.
Advanced Log Configuration
If you add a "logkit.xml" into the It'll now is <testFilesDirectory>
copied into The/bin folder. If One does not exist the default one supplied with JMeter would be used instead. If you don ' t want to call your Advanced log config file "Logkit.xml", you can specify the filename using:
+---+<project> [...] <Build> <Plugins> <Plugin> <groupid>com.lazerycode.jmeter</Groupid> <artifactid>jmeter-maven-plugin</artifactid> <version>2.0.3</version > <executions> <execution> <id >jmeter-tests</id> <goals> < Goal>jmeter</goal> </goals> </ execution> </executions> <configuration> <logconfigfilename>myfile.xml</logconfigfilename> </ configuration> </plugin> </plugins > </build> [...] </project>+---+
Individual Log levels
You can override individual log levels by setting them in your jmeter.properties file. If you want to override them in the POM has a look at Adding Additional Properties to <propertiesjmeter>.
Jmeter-maven-plugin Advanced Applications: Log levels