You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-docs/src/main/asciidoc/howto.adoc
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
[partintro]
5
5
--
6
6
This section provides answers to some common '`how do I do that...`' type of questions
7
-
that often arise when using Spring Cloud Data Flow.
7
+
that often arise when using Spring Cloud Data Flow.
8
8
9
9
If you are having a specific problem that we don't cover here, you might want to check out
10
10
http://stackoverflow.com/tags/spring-cloud-dataflow[stackoverflow.com] to see if someone has
@@ -24,7 +24,7 @@ for the Dataflow server.
24
24
The remote maven repositories need to be configured explicitly if the apps are resolved using maven repository except for `local` Data Flow server. The other
25
25
Data Flow server implementations (that use maven resources for app artifacts resolution) have no default value for remote repositories.
26
26
The `local` server has `https://repo.spring.io/libs-snapshot` as the default remote repository.
27
-
27
+
28
28
To pass the properties as commandline options:
29
29
30
30
[source,bash]
@@ -84,21 +84,21 @@ in Cloud Foundry, you'd be passing them as `cf set-env SPRING_APPLICATION_JSON`.
84
84
85
85
== Logging
86
86
87
-
Spring Cloud Data Flow is built upon several Spring projects, but ultimately the dataflow-server is a
87
+
Spring Cloud Data Flow is built upon several Spring projects, but ultimately the dataflow-server is a
88
88
Spring Boot app, so the logging techniques that apply to any link:http://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html#howto-logging[Spring Boot]
89
89
application are applicable here as well.
90
90
91
91
92
-
While troubleshooting, following are the two primary areas where enabling the DEBUG logs could be
92
+
While troubleshooting, following are the two primary areas where enabling the DEBUG logs could be
93
93
useful.
94
94
95
95
=== Deployment Logs
96
-
Spring Cloud Data Flow builds upon link:https://github.com/spring-cloud/spring-cloud-deployer[Spring Cloud Deployer] SPI
97
-
and the platform specific dataflow-server uses the respective link:https://github.com/spring-cloud?utf8=%E2%9C%93&query=deployer[SPI implementations].
98
-
Specifically, if we were to troubleshoot deployment specific issues; such as the network errors, it'd
96
+
Spring Cloud Data Flow builds upon link:https://github.com/spring-cloud/spring-cloud-deployer[Spring Cloud Deployer] SPI
97
+
and the platform specific dataflow-server uses the respective link:https://github.com/spring-cloud?utf8=%E2%9C%93&query=deployer[SPI implementations].
98
+
Specifically, if we were to troubleshoot deployment specific issues; such as the network errors, it'd
99
99
be useful to enable the DEBUG logs at the underlying deployer and the libraries used by it.
100
100
101
-
. For instance, if you'd like to enable DEBUG logs for the link:https://github.com/spring-cloud/spring-cloud-deployer/tree/master/spring-cloud-deployer-local[local-deployer],
101
+
. For instance, if you'd like to enable DEBUG logs for the link:https://github.com/spring-cloud/spring-cloud-deployer-local[local-deployer],
(_where, `org.springframework.cloud.deployer.spi.local` is the global package for everything local-deployer
112
112
related_)
113
113
114
-
. For instance, if you'd like to enable DEBUG logs for the link:https://github.com/spring-cloud/spring-cloud-deployer-cloudfoundry[cloudfoundry-deployer],
115
-
you'd be setting the following environment variable and upon restaging the dataflow-server, we will
116
-
see more logs around request, response and the elaborate stack traces (_upon failures_). The cloudfoundry-deployer
117
-
uses link:https://github.com/cloudfoundry/cf-java-client[cf-java-client], so we will have to enable DEBUG
118
-
logs for this library.
114
+
. For instance, if you'd like to enable DEBUG logs for the link:https://github.com/spring-cloud/spring-cloud-deployer-cloudfoundry[cloudfoundry-deployer],
115
+
you'd be setting the following environment variable and upon restaging the dataflow-server, we will
116
+
see more logs around request, response and the elaborate stack traces (_upon failures_). The cloudfoundry-deployer
117
+
uses link:https://github.com/cloudfoundry/cf-java-client[cf-java-client], so we will have to enable DEBUG
118
+
logs for this library.
119
119
120
120
121
121
+
@@ -128,7 +128,7 @@ $ cf restage dataflow-server
128
128
129
129
(_where, `cloudfoundry-client` is the global package for everything `cf-java-client` related_)
130
130
131
-
. If there's a need to review Reactor logs, which is used by the `cf-java-client`, then the following
131
+
. If there's a need to review Reactor logs, which is used by the `cf-java-client`, then the following
0 commit comments