Node-red-log to file

Could a simple shell pipe solve this temporary issue? If you set console log level to trace and then start with node-red | tee /path/to/logfile.log?