Skip to content

Commit 76255fc

Browse files
authored
Merge pull request #60644 from ekristova/RHDEVDOCS-5240
RHDEVDOCS-5240: Pipelines as Code, Split Logging By Namespace
2 parents f733a1c + 764c6dd commit 76255fc

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

cicd/pipelines/using-pipelines-as-code.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ include::modules/op-customizing-pipelines-as-code-configuration.adoc[leveloffset
131131

132132
include::modules/op-pipelines-as-code-command-reference.adoc[leveloffset=+1]
133133

134+
include::modules/op-splitting-pipelines-as-code-logs-by-namespace.adoc[leveloffset=+1]
135+
134136
[role="_additional-resources"]
135137
[id="additional-resources-pac"]
136138
== Additional resources
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This module is included in the following assembly:
2+
//
3+
// *cicd/pipelines/using-pipelines-as-code.adoc
4+
5+
:_content-type: REFERENCE
6+
[id="splitting-pipelines-as-code-logs-by-namespace_{context}"]
7+
= Splitting {pac} logs by namespace
8+
9+
The logs contain the namespace information to make it possible to filter logs or split the logs by a particular namespace. For example, to view the logs related to the `mynamespace` namespace, enter the following command:
10+
11+
[source,terminal]
12+
----
13+
$ oc logs pipelines-as-code-controller-<unique-id> -n openshift-pipelines | grep mynamespace <1>
14+
----
15+
<1> Replace `pipelines-as-code-controller-<unique-id>` with the {pac} controller name.

0 commit comments

Comments
 (0)