Thank you for the response! It has helped a bit, I now get a complete run of my script with fastqc and log output. I ended using something similar to the solution you posted:
stdout: $((inputs.seqfile.basename)+"_console_log.txt")
However, the logs themselves are named undefined_console_log.txt and undefined_error_log.txt respectively.
Don't know about the exact capabilities of CWL, but adding
.logto the name of your sample is one of common solutions. Adding a time stamp would be another.