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

Commitebc49ab

Browse files
authored
Cf runtime logs (#156)
* Create download log runtime topicAdded screenshots and download option for Git sources* Update runtime and got source logs* Update download-runtime-logs.md* Update download-runtime-logs.md* Update download-runtime-logs.md
1 parent2b5b874 commitebc49ab

10 files changed

+134
-2
lines changed

‎_data/home-content.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
localurl:/docs/runtime/installation
3636
-title:Management
3737
localurl:/docs/runtime/monitor-manage-runtimes/
38+
-title:View/download runtime logs
39+
localurl:/docs/runtime/download-runtime-logs/
3840
-title:Add and manage external clusters
3941
localurl:/docs/runtime/managed-cluster/
4042
-title:Add and manage Git Sources

‎_data/nav.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
url:"/installation"
5050
-title:Management
5151
url:"/monitor-manage-runtimes"
52+
-title:View/download runtime logs
53+
url:"/download-runtime-logs"
5254
-title:Add and manage external clusters
5355
url:"/managed-cluster"
5456
-title:Add and manage Git Sources
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title:"View/download runtime logs"
3+
description:""
4+
group:runtime
5+
toc:true
6+
---
7+
8+
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.
9+
10+
Log files include events from the date of the application launch, with the newest events listed first.
11+
12+
13+
###Download logs for runtimes
14+
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.
15+
16+
1. In the Codefresh UI, go to[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
17+
1. If needed, switch to**List View**, and then select the runtime for which to download logs.
18+
1. From the list of**Additional Actions**, select**Download All Logs**.
19+
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`.
20+
21+
22+
{% include
23+
image.html
24+
lightbox="true"
25+
file="/images/runtime/runtime-logs-download-all.png"
26+
url="/images/runtime/runtime-logs-download-all.png"
27+
alt="Download logs for selected runtime"
28+
caption="Download logs for selected runtime"
29+
max-width="40%"
30+
%}
31+
32+
33+
{:start="4"}
34+
1. To view the log files of the individual components, unzip the file.
35+
Here is an example of the folder with the individual logs.
36+
37+
{% include
38+
image.html
39+
lightbox="true"
40+
file="/images/runtime/runtime-logs-folder-view.png"
41+
url="/images/runtime/runtime-logs-folder-view.png"
42+
alt="Individual log files in folder"
43+
caption="Individual log files in folder"
44+
max-width="50%"
45+
%}
46+
47+
{:start="5"}
48+
1. Open a log file with the text editor of your choice.
49+
50+
51+
###View/download logs for runtime components
52+
View online logs for any runtime component, and if needed, download the log file for offline viewing and analysis.
53+
54+
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.
55+
56+
1. In the Codefresh UI, go to[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
57+
1. If needed, switch to**List View**, and then select the runtime.
58+
1. Select the runtime component and then select**View Logs**.
59+
60+
{% include
61+
image.html
62+
lightbox="true"
63+
file="/images/runtime/runtime-logs-view-component.png"
64+
url="/images/runtime/runtime-logs-view-component.png"
65+
alt="View log option for individual runtime component"
66+
caption="View log option for individual runtime component"
67+
max-width="40%"
68+
%}
69+
70+
71+
{:start="4"}
72+
1. Do the following:
73+
* Search by free-text for any string, and click the next and previous buttons to navigate between the search results.
74+
* To switch on line-wrap for readability, click**Wrap**.
75+
76+
{% include
77+
image.html
78+
lightbox="true"
79+
file="/images/runtime/runtime-logs-screen-view.png"
80+
url="/images/runtime/runtime-logs-screen-view.png"
81+
alt="Runtime component log example"
82+
caption="Runtime component log example"
83+
max-width="50%"
84+
%}
85+
86+
{:start="5"}
87+
1. To download the log, click**Download**.
88+
The file is downloaded as`<component-name>.log`.
89+
90+
###Related information
91+
[Manage Git Sources]({{site.baseurl}}/docs/runtime/git-sources/#viewdownload-logs-for-a-git-source)

‎_docs/runtime/git-sources.md‎

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Create Git Sources for any provisioned runtime. The Git Sources will be availab
3838

3939
>Make sure you are in the List View to create Git Sources.
4040
41-
1. In the Codefresh UI, go tothe[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"} page.
41+
1. In the Codefresh UI, go to[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"}.
4242
1. In the List View, select the runtime for which to add a Git Source, and then select the**Git Sources** tab.
4343
1. Select**Create Git Sources**, and in the Create Git Source panel, define the definitions for the Git Source:
4444

@@ -73,7 +73,7 @@ Create Git Sources for any provisioned runtime. The Git Sources will be availab
7373
Edit an existing Git Source by changing the source and destination definitions.
7474
>You cannot change the name of the Git Source.
7575
76-
1. In the Codefresh UI, go tothe[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"} page.
76+
1. In the Codefresh UI, go to[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"}.
7777
1. From the**List View** (the default), select the runtime with the Git Source, and then select the**Git Sources** tab.
7878
1. In the row with the Git Source to edit, select the three dots, and then select**Edit** in the panel that appears.
7979

@@ -89,6 +89,43 @@ Edit an existing Git Source by changing the source and destination definitions.
8989
{:start="4"}
9090
1. Change the**Source** and**Destination** definitions for the Git Source, and select**Save**.
9191

92+
###View/download logs for a Git Source
93+
View online logs for any Git Source associated with a runtime, and if needed, download the log file for offline viewing and analysis.
94+
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.
95+
96+
1. In the Codefresh UI, go to[Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes**){:target="\_blank"}.
97+
1. From the**List View** (the default), select the runtime with the Git Source, and then select the**Git Sources** tab.
98+
1. In the row with the Git Source foe which to view/download logs, select the three dots, and then select**View Logs**.
99+
100+
{% include
101+
image.html
102+
lightbox="true"
103+
file="/images/runtime/git-source-view-logs.png"
104+
url="/images/runtime/git-source-view-logs.png"
105+
alt="Edit Git Source"
106+
caption="Edit Git Source"
107+
max-width="30%"
108+
%}
109+
110+
{:start="4"}
111+
1. Do the following:
112+
* Search by free-text for any string, and click the next and previous buttons to navigate between the search results.
113+
* To toggle between standard and line-wrapped views, click**Wrap**.
114+
115+
{% include
116+
image.html
117+
lightbox="true"
118+
file="/images/runtime/git-source-logs-screen.png"
119+
url="/images/runtime/git-source-logs-screen.png"
120+
alt="View logs for Git Source"
121+
caption="View logs for Git Source"
122+
max-width="50%"
123+
%}
124+
125+
{:start="5"}
126+
1. To download the log, click**Download**.
127+
The file is downloaded with`.log` extension.
128+
92129
###What to read next
93130
[Manage runtimes]({{site.baseurl}}/docs/runtime/monitor-manage-runtimes/)
94131
[Recover runtimes]({{site.baseurl}}/docs/runtime/runtime-recovery/)
378 KB
Loading
60.8 KB
Loading
59.5 KB
Loading
75.4 KB
Loading
429 KB
Loading
56.6 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp