Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit949a8ba

Browse files
authored
Restore component log download (codefresh-io#906)
* Restore component log downloadRestored documentation of component log download* Update monitor-manage-runtimes.mdminor content edits for download component logs* Update monitor-manage-runtimes.md
1 parentc024b4b commit949a8ba

File tree

3 files changed

+59
-105
lines changed

3 files changed

+59
-105
lines changed

‎_docs/installation/gitops/monitor-manage-runtimes.md‎

Lines changed: 59 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,65 @@ Copy the SSH private key for your Git provider
330330
{:start="5"}
331331
1. Click **Update Credentials**.
332332

333+
## View/download logs for GitOps Runtimes
334+
Logs are available for installed GitOps Runtimes, both for the Runtime and for individual Runtime components. Download 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-wrap for enhanced readability.
335+
336+
Log files include events from the date of the application launch, with the newest events listed first.
337+
338+
339+
340+
### Download logs for GitOps Runtimes
341+
Download the log file for a GitOps Runtime. The Runtime log is downloaded as a `.tar.gz` file, which contains the individual log files for each runtime component.
342+
343+
1. In the Codefresh UI, on the toolbar, click the **Settings** icon.
344+
1. From Runtimes in the sidebar, select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
345+
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
346+
1. From the context menu, select **Download All Logs**.
347+
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`.
348+
349+
### View/download logs for Runtime components
350+
View online logs for any Runtime component, and if needed, download the log file for offline viewing and analysis.
351+
352+
>**NOTE**
353+
Downloading logs for Runtime components is supported from Runtime v0.1.39 and higher.
354+
355+
Online logs show up to 1000 of the most recent events (lines), updated in real time. Downloaded logs include all the events, from the date and time of application launch to the date and time of download.
356+
357+
1. In the Codefresh UI, on the toolbar, click the **Settings** icon.
358+
1. From Runtimes in the sidebar, select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
359+
1. If needed, switch to **List View**, and then select the Runtime.
360+
1. In the Runtime Components tab, from the context menu of the required component, select **View Logs**.
361+
362+
{% include
363+
image.html
364+
lightbox="true"
365+
file="/images/runtime/runtime-logs-view-component.png"
366+
url="/images/runtime/runtime-logs-view-component.png"
367+
alt="View log option for individual runtime component"
368+
caption="View log option for individual runtime component"
369+
max-width="60%"
370+
%}
371+
372+
373+
{:start="4"}
374+
1. Do the following:
375+
* To search for any string, type the free-text to search for, and click the next and previous buttons to navigate between the search results.
376+
* To switch on line-wrap for readability, click **Wrap**.
377+
378+
{% include
379+
image.html
380+
lightbox="true"
381+
file="/images/runtime/runtime-logs-screen-view.png"
382+
url="/images/runtime/runtime-logs-screen-view.png"
383+
alt="Online log example for runtime component"
384+
caption="Online log example for runtime component"
385+
max-width="60%"
386+
%}
387+
388+
{:start="5"}
389+
1. To download the log, click **Download**.
390+
The file is downloaded as `<component-name>.log`.
391+
333392
## Reset Shared Configuration Repository for GitOps Runtimes
334393
Codefresh creates and validates the [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration) when you install the first Hybrid or Hosted GitOps Runtime for your account, and uses it for all GitOps Runtimes you add to the same account.
335394

@@ -536,114 +595,9 @@ Uninstalling a GitOps Runtime permanently removes:
536595

537596

538597

539-
## (Helm GitOps) Download logs for GitOps Runtimes
540598

541-
Download the logs for a completed GitOps Runtime installation.<br>
542-
The Runtime log is downloaded as a `.tar.gz` file, which contains the individual log files for each runtime component.
543599

544-
1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
545-
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
546-
1. From the context menu, select **Download All Logs**.
547-
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`.
548600

549-
{% include
550-
image.html
551-
lightbox="true"
552-
file="/images/runtime/helm-download-all-logs.png"
553-
url="/images/runtime/helm-download-all-logs.png"
554-
alt="Download all logs for installed GitOps Runtime"
555-
caption="Download all logs for installed GitOps Runtime"
556-
max-width="60%"
557-
%}
558-
559-
<!---
560-
## (Legacy CLI Hybrid GitOps) View/download logs for GitOps Runtimes
561-
Logs are available for completed Runtimes, both for the runtime and for individual runtime components. Download 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-wrap for enhanced readability.
562-
563-
Log files include events from the date of the application launch, with the newest events listed first.
564-
565-
566-
567-
### Download logs for GitOps Runtimes
568-
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.
569-
570-
1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
571-
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
572-
1. From the context menu, select **Download All Logs**.
573-
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`.
574-
575-
576-
{% include
577-
image.html
578-
lightbox="true"
579-
file="/images/runtime/runtime-logs-download-all.png"
580-
url="/images/runtime/runtime-logs-download-all.png"
581-
alt="Download logs for selected runtime"
582-
caption="Download logs for selected runtime"
583-
max-width="40%"
584-
%}
585-
586-
587-
{:start="4"}
588-
1. To view the log files of the individual components, unzip the file.
589-
Here is an example of the folder with the individual logs.
590-
591-
{% include
592-
image.html
593-
lightbox="true"
594-
file="/images/runtime/runtime-logs-folder-view.png"
595-
url="/images/runtime/runtime-logs-folder-view.png"
596-
alt="Individual log files in folder"
597-
caption="Individual log files in folder"
598-
max-width="50%"
599-
%}
600-
601-
{:start="5"}
602-
1. Open a log file with the text editor of your choice.
603-
604-
605-
606-
### View/download logs for Runtime components
607-
View online logs for any Runtime component, and if needed, download the log file for offline viewing and analysis.
608-
609-
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.
610-
611-
1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
612-
1. If needed, switch to **List View**, and then select the Runtime.
613-
1. Select the Runtime component and then select **View Logs**.
614-
615-
{% include
616-
image.html
617-
lightbox="true"
618-
file="/images/runtime/runtime-logs-view-component.png"
619-
url="/images/runtime/runtime-logs-view-component.png"
620-
alt="View log option for individual runtime component"
621-
caption="View log option for individual runtime component"
622-
max-width="40%"
623-
%}
624-
625-
626-
{:start="4"}
627-
1. Do the following:
628-
* Search by free-text for any string, and click the next and previous buttons to navigate between the search results.
629-
* To switch on line-wrap for readability, click **Wrap**.
630-
631-
{% include
632-
image.html
633-
lightbox="true"
634-
file="/images/runtime/runtime-logs-screen-view.png"
635-
url="/images/runtime/runtime-logs-screen-view.png"
636-
alt="Online log example for runtime component"
637-
caption="Online log example for runtime component"
638-
max-width="50%"
639-
%}
640-
641-
{:start="5"}
642-
1. To download the log, click **Download**.
643-
The file is downloaded as `<component-name>.log`.
644-
645-
646-
-->
647601

648602

649603
## (Legacy CLI Hybrid GitOps) Restoring provisioned GitOps Runtimes
648 KB
Loading
-22.5 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp