How to backup Trace log

Hello,

My AFLs write some log messages using _TRACE() function.

I want to take backup of the contents of the Trace log at regular time intervals.

If it is possible then please tell me how to do it?

Thanks :pray:

I don't know how to backup the Trace log but you could just append a CSV file in addition to trace. To do this you would use the functions fgetstatus(), fopen(), fputs(), fclose(). Look at the examples in the function reference for those functions.

1 Like