Open leexgh opened 1 year ago
This caused an issue at the hackathon where, when working in a singularity container, log files cannot be written as singularity creates a read only file system. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /genome-nexus-annotation-pipeline/logs/genome-nexus-annotation-pipeline.log (No such file or directory)
The proposed feature would allow the pipeline to be run using singularity and on the HPC as docker is not supported on juno.
I will reference this https://github.com/nextflow-io/nextflow/discussions/4260 as a docker workaround for now as this can explicitly set by specifying the volume mounts via containerOptions
It could be preferable for annotationPipeline.jar
to allow dumping of the log to stdout
instead...
Notes: Still doesn't solve singularity read-only filesystem yet...
The current logging is a bit complicated to see if running through docker. Add new flags for logging:
--verbosity=verbose
--output-log=output.log