View/download runtime logs

Logs are available for completed runtimes, both for the runtime and for individual runtime components. Download runtime log files for offline viewing and analysis, or view online logs for a runtime component, and download if needed for offline analysis. Online logs support free-text search, search-result navigation, and line-warp for enhanced readability.

Log files include events from the date of the application launch, with the newest events listed first.

Download logs for runtimes

Download the log file for a runtime. The runtime log is downloaded as a .tar.gz file, which contains the individual log files for each runtime component.

  1. In the Codefresh UI, go to Runtimes.
  2. If needed, switch to List View, and then select the runtime for which to download logs.
  3. From the list of Additional Actions, select Download All Logs.
    The log file is downloaded to the Downloads folder or the folder designated for downloads, with the filename, <runtime-name>.tar.gz. For example, codefreshv2-production2.tar.gz.

Download logs for selected runtime

Download logs for selected runtime
  1. To view the log files of the individual components, unzip the file.
    Here is an example of the folder with the individual logs.

Individual log files in folder

Individual log files in folder
  1. Open a log file with the text editor of your choice.

View/download logs for runtime components

View online logs for any runtime component, and if needed, download the log file for offline viewing and analysis.

Online logs show up to 1000 of the most recent events (lines), updated in real time. Downloaded logs include all the events from the application launch to the date and time of download.

  1. In the Codefresh UI, go to Runtimes.
  2. If needed, switch to List View, and then select the runtime.
  3. Select the runtime component and then select View Logs.

View log option for individual runtime component

View log option for individual runtime component
  1. Do the following:
    • Search by free-text for any string, and click the next and previous buttons to navigate between the search results.
    • To switch on line-wrap for readability, click Wrap.

Runtime component log example

Runtime component log example
  1. To download the log, click Download.
    The file is downloaded as <component-name>.log.

Manage Git Sources