Logs are important data generated by your application that can help you understand user heuristics, monitor application performance, and debug problems. They are the first place you look when something goes wrong in your application. OpenShift uses a service called logshifter
, which collects logs from all the different pieces of your application and makes them accessible at a single location. These logs can then be fed to your favorite log management solution, such as Splunk, to gain more useful insights. In this recipe, you will learn how easily you can view all the logs of your application using a single command. This recipe covers logging in a cartridge-agnostic manner. The language-specific aspects of logging will be covered later in this chapter.
OpenShift Cookbook
By :
OpenShift Cookbook
By:
Overview of this book
Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with OpenShift
Managing Domains
Creating and Managing Applications
Using MySQL with OpenShift Applications
Using PostgreSQL with OpenShift Applications
Using MongoDB and Third-party Database Cartridges with OpenShift Applications
OpenShift for Java Developers
OpenShift for Python Developers
OpenShift for Node.js Developers
Continuous Integration for OpenShift Applications
Logging and Scaling Your OpenShift Applications
Running OpenShift on a Virtual Machine
Index
Customer Reviews