Generating own logfile

Thank you LukasPsy I will try that. But I am not quite sure, how do save the file to my “data” folder then.
Just add it at the end or how do I do it?

Sorry I am just getting started with PsychoPy. Thanks a lot for taking the time to help me!