[Logback.xml] How to create additional log in test results folder

Hi,

i’m trying to save request/response info in additional log file so i can check what’s going on during test.
I figured out how to add file appender and it writes new log file successfully.
The question is – how to tell logback to save file in the folder with a generated test report.

i.e.
logback-test.xml contains the following setup:

**${TARGET}/gatling_additional-${TIMESTAMP}.log** %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx false

and the test results are saved in
target/gatling/results/test-name-[timestamp] folder

so actually my additional log file will be one level above the tests results

Is there any way to put additional log under the same directory (target/gatling/results/test-name-[timestamp])?

Thanks!

Hi,

I don’t see how to do this, sorry.

Stéphane