Output console log to file

887 views
Skip to first unread message

Jamie Atkins

unread,
Dec 10, 2014, 4:09:19 AM12/10/14
to gat...@googlegroups.com
Hello, 

I was wondering (if it's possible) how to alter my logback.xml file so that the information that is output to the console is also output to a log file. The simulation.log file generated in the results folder is not as easy to read or understand as the console log.

Thanks

Jamie

Stéphane Landelle

unread,
Dec 10, 2014, 5:59:41 AM12/10/14
to gat...@googlegroups.com
You can use a FileAppender for the logs that are written with slf4j.
However, that's written by the ConsoleDataWriter (periodic summary) is directly written in the console. However, you can redirect the process' stdout (plain old shell).

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages