You can use method setLogFile() for create log (since XFRX 15.5).
=m.loPreview.setLogFile(<tcLogFile>)
tcLogFile the name of the log file to create.