-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ability to parse all test data from sim log
- Loading branch information
Showing
8 changed files
with
197 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern> | ||
<immediateFlush>false</immediateFlush> | ||
</encoder> | ||
</appender> | ||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern> | ||
</encoder> | ||
<immediateFlush>false</immediateFlush> | ||
</appender> | ||
|
||
<appender name="ERRORS" class="ch.qos.logback.core.FileAppender"> | ||
<file>/tmp/${simulation_name}.log</file> | ||
<filter class="ch.qos.logback.classic.filter.LevelFilter"> | ||
<level>ERROR</level> | ||
<onMatch>ACCEPT</onMatch> | ||
<onMismatch>DENY</onMismatch> | ||
</filter> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%msg%n%rEx</pattern> | ||
</encoder> | ||
</appender> | ||
<appender name="ERROR" class="ch.qos.logback.core.FileAppender"> | ||
<file>/opt/gatling/target/gatling/simulation-errors.log</file> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern> | ||
</encoder> | ||
<immediateFlush>false</immediateFlush> | ||
<param name="Append" value="false" /> | ||
</appender> | ||
|
||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>/opt/gatling/logs/test_results.log</file> | ||
<filter class="ch.qos.logback.classic.filter.LevelFilter"> | ||
<level>TRACE</level> | ||
<onMatch>ACCEPT</onMatch> | ||
<onMismatch>DENY</onMismatch> | ||
</filter> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%msg%n%rEx</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="io.gatling.http.engine.response" level="DEBUG" additivity="false"> | ||
<appender-ref ref="ERROR"/> | ||
</logger> | ||
|
||
<appender name="USERS" class="ch.qos.logback.core.FileAppender"> | ||
<file>/opt/gatling/logs/users.log</file> | ||
<filter class="ch.qos.logback.classic.filter.LevelFilter"> | ||
<level>DEBUG</level> | ||
<onMatch>ACCEPT</onMatch> | ||
<onMismatch>DENY</onMismatch> | ||
</filter> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%msg%n%rEx</pattern> | ||
</encoder> | ||
</appender> | ||
<!-- uncomment and set to DEBUG to log all failing HTTP requests --> | ||
<!-- uncomment and set to TRACE to log all HTTP requests --> | ||
<logger name="io.gatling.http.engine.response" level="DEBUG" /> | ||
|
||
<logger name="io.gatling.http.engine.response.DefaultStatsProcessor" level="TRACE"/> | ||
<logger name="io.gatling.core.stats.writer.ConsoleDataWriter" level="TRACE"/> | ||
<root level="WARN"> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
|
||
<root level="ERROR"> | ||
<appender-ref ref="FILE"/> | ||
<appender-ref ref="ERRORS"/> | ||
<appender-ref ref="USERS"/> | ||
</root> | ||
|
||
</configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.