jsefton/laravel-queue-logger

Creates log of jobs being processed from the queue

1.0.2 2021-05-03 11:20 UTC

This package is auto-updated.

Last update: 2024-11-29 06:47:11 UTC


README

Creates a log of all queue jobs in a database table to help with auditing jobs.

Able to store and provide:

  • Job
  • Queue Connection
  • Started Processing DateTime
  • Processed DateTime
  • Status
  • Failed DateTime
  • Failed Error Message

Installation

composer require jsefton/laravel-queue-logger

Run migrations to create 'queue_logs' table:

php artisan migrate

This package will automatically register the event listeners and data will be inserted within the 'queue_logs' table.

An eloquent model exists if you wish to query the data back out as: JSefton\QueueLogger\QueueLog

Please note currently for Laravel 7+ until tested and verified in lower versions.