Scripting Trace for test automation

Hi, having used Keil's uVision 4, I was used to call it with command line parameters to provide a set of uvproj-uvopt-axf files, allowing it to setup trace, flash the axf file, set a log file, do code coverage and run until it stops at a specified point :

Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
Alternatively our support ticketing system can be used as well: segger.com/ticket/

I would like to script the automation of my test too. I need to log in a file the SWO output.

SWO tracing is currently not supported by Ozone and we have no pripority for that feature in SWO at the moment.
Currently only printf statements via SWO can be logged in Ozone terminal.
If printf SWO is what you are looking for then we have good news as we are currently working on a scriptable SWO printf export function to be able to save the terminal log to a file.

Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
Alternatively our support ticketing system can be used as well: segger.com/ticket/