Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This is a simple meta module. It installs the key tools for building Drupal
sites. When you disable or uninstall the module it removes the dependencies
for you too.
Past is an extended logging framework, designed to log and later analyze complex data structures to a pluggable backend.
It can record watchdog events (and be a watchdog module replacement). Also it can capture uncaught exceptions with backtraces and circumvent PHP limitations in error handling with a shutdown handler to capture all possible application errors. It can even scan PHP error.log files for missing pieces.
Another typical use case for past is logging communication between one or multiple services, where data is received, processed and forwarded.
A single log message is called an event, which can have multiple attached arguments, each argument can be a scalar, an array, an object or an exception. Complex data structures like arrays and objects are stored separately so that they can be searched and displayed in a readable way, those rows are called "(event) data".
Features
Procedural and object oriented interface for logging events
Attach any number of arguments to a single event
Pluggable backend. The current default backend is a database/entity based backend, a simpletest backend is additionally provided that allows to display events as debug output
Each element in an array or object is stored separately to be search and filterable
Social Field Formatter provides field formatter for text and link field. You can easy set up to show field value as link to a social page. It is useful for social sites collect data of eg.