This page describes how to view the streaming logs of your application and to
check the status of resources from within Cloud Code.
After your application builds and runs in either regular or development mode, you'll be able to monitor logs streaming from your application from within your IDE. You can also view logs from a specific resource (a pod, a deployment, etc.) by navigating to the Kubernetes Explorer.

<br />

## View the status of tasks and resources

When you start a development or debugging session, you'll be able to monitor logs streaming from your application from [within your IDE](https://docs.cloud.google.com/code/docs/intellij/k8s-overview#view_logs).

<br />

From the Kubernetes Explorer, you can check the status of your
deployment in the following ways:

- **Pod, deployment and node statuses**: These Kubernetes resources have colored
  status marks next to their labels; red for failed state, yellow for
  starting/terminating/warning, and green for healthy, desired state.

- **Deployed resource descriptions** : You can run a `kubectl describe` on your
  deployed resources to display its details by right-clicking and choosing
  **Describe**.

## View logs for a specific resource

To view logs from a specific resource, follow these steps:

<br />

1. Navigate to the Kubernetes Explorer. It can be
   accessed either from the side panel on the right or
   using **Tools** \> **Cloud Code** \> **Kubernetes** \> **View Cluster Explorer**.

2. Select the resource you'd like to see logs from, such as a pod, a deployment,
   or a service.

3. Right-click the resource and select **Stream Logs**. Alternatively, you can
   stream logs for individual containers running in pods.

   This outputs logs to the Kubernetes Explorer Console.

## What's next

- [Debug a Kubernetes application in Cloud Code](https://docs.cloud.google.com/code/docs/intellij/debug).
- Explore the Kubernetes documentation on [troubleshooting containerized applications](https://kubernetes.io/docs/tasks/debug/debug-application/).

## Get support

To submit feedback or report an issue in your IntelliJ IDE, go to **Tools** \> **Cloud Code** \> **Help / About** \> **Submit
feedback or report an issue** to report an issue on [GitHub](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues).