Log Files

Modified on Mon, 12 Sep 2022 at 04:52 PM

Wherever possible the Seqera Labs Support Team requests that you share log files as part of your ticket submission by adding as an attachment to your ticket submission.  The different types of logs that we may ask you to provide include:

  1. Nextflow logs
  2. Tower logs
    1. Backend logs
    2. Cron logs
    3. Frontend logs

Q: How do I provide my log files?

Nextflow Logs

Nextflow logs can be retrieved on your Tower instance through the following steps:

  1. Log into your Tower instance and click 'Runs'.
  2. Select the workflow that you want to shrare.
  3. Move to the 'Execution log' tab.
  4. Click the 'Download log files' dropdown -> Download the 'Nextflow log file'.
    1. You can also provide the 'Nextflow console output' for the full details of your standard output.



Tower Logs

Tower logs are found inside your deployment instance.

For Docker Compose deployments:

  1. Log in to your instance where the containers are running.
  2. Run the following command to determine the target ID of the container:
    1. docker ps --format "table [[.ID]]\t[[.Names]]\t[[.Image]]\t[[/Status]]"
    2. Get the container ID or the name (ie. 742d614a11d5 or nf-backend-1)
  3. Run the following command to get the logs of a specific container and dump it into a file.
    1. This command will send the full logs from the beginning:
      1. docker logs nf-backend-1 > /tmp/backend.log
    2. This command will send the logs of a specific date:
      1. docker logs nf-backend-1 | grep Sep-07 > /tmp/backend.log
  4. Attach the 'backend.log' file created to your ticket.
  5. Process above is applicable to frontend, backend, and corn logs; note that for each you need to change the filename (ie. backend.log) so it does not overwrite the existing file.

For Kubernetes based deployments:

  1. Log in to your instance where the Kubernetes pods are running.
  2. Run the following command to determine the target name of the pods for the log extraction:
    1. kubectl get pod -n [namespace]
    2. kubectl logs [pod name] -n [namespace] > /tmp/backend-pod.og
  3. In some situations, we may also need you to provide the pod deployment.  To do so run the command below and provide us the result.
    1. kubectl describe [pod name] -n [namespace] > /tmp/describe-backend-pod.log
  4. Be mindful of the log file name as as not to overwrite existing files.  Process above is applicable for other pods depending on what is required for investigation.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article