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
Copy file name to clipboardExpand all lines: README.md
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,51 @@ To build the jar, run `./gradlew clean build`
83
83
84
84
To build the jar, run `./gradlew deploy -Pserver_path=~/gocd`
85
85
86
+
## Troubleshooting
87
+
88
+
### Enable Debug Logs
89
+
90
+
#### If you are on GoCD version 19.6 and above:
91
+
92
+
Edit the file `wrapper-properties.conf` on your GoCD server and add the following options. The location of the `wrapper-properties.conf` can be found in the [installation documentation](https://docs.gocd.org/current/installation/installing_go_server.html) of the GoCD server.
93
+
94
+
```properties
95
+
# We recommend that you begin with the index `100` and increment the index for each system property
If you're running with GoCD server 19.6 and above on docker using one of the supported GoCD server images, set the environment variable `GOCD_SERVER_JVM_OPTIONS`:
100
+
101
+
```shell
102
+
docker run -e "GOCD_SERVER_JVM_OPTIONS=-Dplugin.cd.go.contrib.elasticagent.kubernetes.log.level=debug" ...
103
+
```
104
+
105
+
#### If you are on GoCD version 19.5 and lower:
106
+
107
+
* On Linux:
108
+
109
+
Enabling debug level logging can help you troubleshoot an issue with this plugin. To enable debug level logs, edit the file `/etc/default/go-server` (for Linux) to add:
0 commit comments