Application debugging made easier with new Bluemix logging console

Share this post:

As any journeyman developer has come to realize, a programmer is nothing without their application logs. Since Bluemix went live last year, we have received our fair share of questions regarding best practices for debugging apps in Cloud Foundry. To make accessing logs even easier, we’ve developed and released an update that allows users to view logs for their Cloud Foundry applications directly in the Bluemix console.

To leverage this feature, navigate to one of your Cloud Foundry apps in the Dashboard. In the left sidebar, you will see that the “Files and Logs” section has been split into distinct “Files” and “Logs” sections.

By clicking on Logs, you will be brought to the new Logs console. Here you will be able to view the same logs that you would see if you typed in cf logs appName --recent into your terminal:

Bluemix Logging

However, this screen has the added value of providing the logs filtered by type and/or channel. This screen is also equivalent to executing cf logs appName, as it will tail your logs in real-time as well.

For a walkthrough on how to use this feature, check out the below video:

For more tips on logging in Bluemix, see these other blog posts:

These were great starting points, but for such an important topic, we realize the comfort in having a more definitive source of information than a blog post. That is why with this release, we have also promoted the relevant content from these posts into the Bluemix logging documentation. The new content gives a full breakdown of the log format and some tips for filtering your logs so you can take full advantage of the Loggregator in Bluemix.

If there is anything else you need to quench your Bluemix logging thirst, don’t hesitate to reach out and let us know!

More stories
May 1, 2019

Two Tutorials: Plan, Create, and Update Deployment Environments with Terraform

Multiple environments are pretty common in a project when building a solution. They support the different phases of the development cycle and the slight differences between the environments, like capacity, networking, credentials, and log verbosity. These two tutorials will show you how to manage the environments with Terraform.

Continue reading

April 29, 2019

Transforming Customer Experiences with AI Services (Part 1)

This is an experience from a recent customer engagement on transcribing customer conversations using IBM Watson AI services.

Continue reading

April 26, 2019

Analyze Logs and Monitor the Health of a Kubernetes Application with LogDNA and Sysdig

This post is an excerpt from a tutorial that shows how the IBM Log Analysis with LogDNA service can be used to configure and access logs of a Kubernetes application that is deployed on IBM Cloud.

Continue reading