Skip to main content

Check Logs of deployed Services

๐ŸŽฏcontext

You have already deployed services and want to check the logs for one of them after deploying through a deploy pipeline or through an application composition project.

Descriptionโ€‹

This How-To will show you how to find the logs of an already deployed service.

Preconditionsโ€‹

  • You have successfully deployed your service through a deploy pipeline or through an application composition project.

Stepsโ€‹

  1. Open your Openshift Console.

  2. Select your Deployment Target in the project dropdown.

  3. Select the navigation item "Workloads" and then open "Deployments".

  4. Search for the deployed Service with "k5-servicename" or "k5-appName-servicename" and open it.

  5. Navigate to the "Pods" section.

  6. Click on the pod and navigate to the "Logs" section to inspect the logs of the service.

๐Ÿ’กtip

Add more log statements to get deeper insights into the service execution.

๐ŸŒŸcongratulations!

You have successfully discovered the logs for the deployed service.