Using the logging API

Table of contents

  • Loading...

Default logging

When Union Station logging is enabled, there are a number of things that will be logged automatically. Each request that passes through Passenger is represented visually as shown in the example below. Passenger also has builtin instrumentation support for important modules such as ActiveRecord.

Union Station Reporter

Writing custom log entries

See the UnionStationHooks documentation.

Relevant modules are: union_station_hooks_rails and station_hooks_core.