Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Introduction


This chapter consists of recipes that will help you to work with the application logs and create scalable applications. The logging recipes will help you to access your application logs and debug any problems you might encounter while running your applications. You will learn how OpenShift uses a component called logshifter to store all application- and cartridge-specific logs in OPENSHIFT_LOG_DIR. This chapter will go into application logging in detail and cover various aspects of logging the JBoss, Tomcat, and Python applications. The logging concepts covered in this chapter will help you work with any web cartridge logs.

The Viewing application logs recipe will give you a general introduction to application logging, with the PHP web cartridge as an example. You will learn how to access application logs using the rhc command-line tool, and understand the log format used by Apache-based cartridges. Next, you will learn how to access JBoss application logs in the Working with...