JBoss.orgCommunity Documentation

Chapter 6. Debugging

6.1. Viewing the Remote Console
6.2. Viewing Environment Variables

This chapter covers useful tools for debugging OpenShift servers and applications.

Similar to when you are running a server locally, you are also able to see console output for your remote OpenShift server. To have this output displayed to you, right-click on your OpenShift application in the OpenShift view tab, and select Tail files.


The dialog that opens allows you to modify the tail options. A default tail command will be present and you can always revert back to it by pressing the Reset button. Once you have completed setting the tail options you wish, click the Finish button.


A new tab will open called Console and display the last 100 lines of the servers boot.log and server.log files. This Console tab will now tail the content of these files on the server, outputing any updates to you, as they occur.


This information can be useful in ensuring processes are executing as expected.

You are able to view the environment variables that an OpenShift application is utilizing and the current content of each variable. To have this output displayed to you right-click on your OpenShift server in the OpenShift view tab, and select Environment Variables.


The output will appear in the Console view tab.


This information can be useful in ensuring an application is receiving the correct environment variable values.