Log Output Differences on Different Platforms

*** Using gatling 2.0.3

I am seeing different log output when I run my tests through maven on a Mac machine and on a Linux machines. This is what my logback.xml file looks like:

<?xml version="1.0" encoding="UTF-8"?> %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx false

On my Mac, It works as expected and only failed requests gets logged. On the Ubuntu machine, all requests and responses get logged. Any ideas why this might be happening?

Here is the gatling plugin definition in maven:

io.gatling gatling-maven-plugin 2.0.0 src/test/resources/data target/results src/test/resources/request-bodies src/test/scala

Here is how I am running the tests:

mvn gatling:execute -Dgatling.simulationClass=com.cliqueintelligence.qa.performance.test.simulations.UploadFileSimulation


Are you sure that the logback.xml files are identical and that the process has the sufficient permissions to read them?

Yes, they are identical. I did a pull from our develop branch just to make sure. They also have the same permissions:

-rw-r–r-- 1 qauser qauser 801 Dec 12 10:34 logback.xml

-rw-r–r-- 1 szaluk staff 801 Dec 5 15:07 logback.xml

I went on the Ubuntu box, deleted the project on there and then cloned that repo again and it’s working now as expected. Not sure what was going on there. I checked the permissions and contents after I did the clone and compared it to what was there before and it was all identical.

It’s just one of those things. :slight_smile:


Friday is Gremlins Day…