Skip to content

Add optional logs link to dashboard#466

Closed
dereuromark wants to merge 1 commit intomasterfrom
feature/database-log-link
Closed

Add optional logs link to dashboard#466
dereuromark wants to merge 1 commit intomasterfrom
feature/database-log-link

Conversation

@dereuromark
Copy link
Owner

Summary

Adds a configurable "Logs" button to the Queue admin dashboard for quick access to application logs.

Configuration

The link is controlled by Log.engine config:

Config Value Behavior
'db' Links to DatabaseLog plugin admin (if plugin is loaded)
URL string Links to external logging service (opens in new tab)
null/unset No link shown

Usage

// config/app.php

// Option 1: Use DatabaseLog plugin
'Log' => [
    'engine' => 'db',
],

// Option 2: External logging service  
'Log' => [
    'engine' => 'https://your-logging-dashboard.com',
],

Screenshot

The "Logs" button appears in the status banner next to "Manage Workers" when configured.

Conditionally shows a "Logs" button in the dashboard status banner:
- Log.engine = 'db': Links to DatabaseLog plugin admin (if loaded)
- Log.engine = URL: Links to external logging service
- Otherwise: No link shown
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.73%. Comparing base (c63f624) to head (ca81cbc).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #466   +/-   ##
=========================================
  Coverage     76.73%   76.73%           
  Complexity      926      926           
=========================================
  Files            45       45           
  Lines          3151     3151           
=========================================
  Hits           2418     2418           
  Misses          733      733           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dereuromark dereuromark deleted the feature/database-log-link branch March 18, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants