How to export trace log in background

I have to run a very lengthy component to load data, which takes over 10 hours. In order to speed up the process, I close all aplications including EI on my pc.
There is an Export button to save the trace log in EI but I have to have EI started while the component is running. Is there any way to save the trace log without starting EI during runtime?

I forgot to mention, I need to have the input data printed with the errors in the trace log.