Forrest logo
back to the nextflow tool

nextflow:tldr:52941

nextflow: Show details of previous runs in current directory.
$ nextflow log
try on your machine

The nextflow log command is used to display the logs generated by a running or completed Nextflow workflow. It provides a way to view the execution history and debug any issues or errors encountered during the workflow execution.

When you use the log command without any argument, it will display the last 10 lines of the workflow execution log. This is helpful to quickly check the recent log messages.

Additionally, you can provide a wildcard pattern or a specific log file name as an argument to the log command to display specific logs related to a particular process or task in the workflow. For example:

nextflow log process1

This command will display the log messages specific to the process1 in the workflow.

The log command can be used to troubleshoot the workflow by inspecting the log messages, identifying errors, monitoring progress, understanding resource usage, and various other details related to the execution of the workflow.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nextflow tool