Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Logscope Laravel Package

ahmedmerza/logscope

LogScope is a Laravel package for viewing, searching, and managing application logs from a clean dashboard. Filter entries, inspect context, and troubleshoot faster without digging through raw log files.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability build-vs-buy for Laravel services. LogScope represents the "build a small internal tool" branch of the decision tree. Because it persists logs to the application database instead of parsing files, it collapses three separate purchases into one dependency: log aggregation, a queryable log store, and a UI for humans. Use it to price the alternative — if a hosted log platform costs $200–$2,000/mo at your volume, the package's cost is DB storage plus engineering time to own a low-maturity dependency.
  • Where logs go, not just how they're viewed. The database-backed design is the real product decision. Choosing it means logs become durable, queryable rows you can join against tenants, users, and request IDs — enabling support workflows like "show me every error for account 4821 last Tuesday" without a log-search query language. That directly informs roadmap items around customer-facing support tooling and incident triage.
  • Multi-server and ephemeral-container readiness. File-based viewers break the moment you run more than one app server, or any container that gets recycled. A DB sink gives you a single pane of glass with zero new infrastructure. This is a genuine roadmap enabler for teams planning horizontal scaling or moving to ECS/Kubernetes who have not yet budgeted for centralized logging.
  • Debugging access for non-engineers. A web UI over logs lets support and QA self-serve instead of filing tickets. That's a staffing/throughput decision, not a technical one — it reduces the interrupt load on on-call engineers and shortens the loop on customer-reported bugs.
  • Retention and compliance posture. Because records live in a table you control, retention becomes an explicit product policy (a scheduled prune, a partition drop) rather than an implicit "logrotate happens to keep 14 days." That forces a useful conversation about PII in logs, audit requirements, and data-residency earlier than teams usually have it.
  • Adopt-vs-fork vs ignore. With 3 stars, 0 dependents, and a single maintainer, the honest framing is: this is a reference implementation you may adopt, or fork, or rebuild in a day — not a vendor. The MIT license makes the fork option cheap. The decision to make is whether the DB-backed pattern is right for you, which is largely independent of this specific repository.

When to Consider This Package

Consider it when all of these hold:

  • You run a small number of Laravel/PHP services (1–5), all writing to the same database or reachable databases, and you are not yet on a centralized logging platform.
  • Your log volume is modest — roughly under a few hundred thousand events/day. A DB sink adds writes and index maintenance to the same primary you serve traffic from; if logging is more than a low-single-digit percentage of your DB write throughput, this pattern is the wrong shape.
  • You need structured, queryable logs with request/tenant/user context, not raw stack traces on disk.
  • You want UI access for support/QA, not just engineers with SSH.
  • You can accept low maturity risk: pin the version, read the migrations before running them, verify it fails safe (does it swallow its own write errors, or can a logging failure 500 a request?), and confirm it does not log secrets by default.
  • You have a pruning strategy and a place to put the table — ideally a separate database/connection so log writes cannot starve your app's connection pool or bloat your primary backups.

Look elsewhere when any of these hold:

  • You need alerting, anomaly detection, or SLO dashboards — this is a viewer, not a monitoring system. Pair with Sentry/Bugsnag and real metrics regardless.
  • You need compliance-grade audit trails (immutability, tamper evidence, WORM storage, defined retention attestations). Application-writable DB tables are the wrong primitive.
  • You run a polyglot or high-scale estate, or you already pay for Datadog/Grafana/CloudWatch — the marginal value is near zero and the operational surface is nonzero.
  • PII/PHI/PCI data may land in logs. You need a redaction guarantee before the sink, not a viewer after it. Verify this explicitly; a log viewer that surfaces unsanitized data to a wide audience is a liability, not an asset.
  • You need long retention (months+) at volume. Object storage + a query layer is dramatically cheaper per GB than an indexed relational table.
  • Laravel Telescope already covers your need. For local and staging debugging, first-party tooling is the default; LogScope only earns its place if you need logs in production with retention and a shareable UI.
  • You are not prepared to own it. Zero dependents means zero ecosystem pressure on the maintainer's release cadence. Budget for the fork.

Practical adoption gate: pilot on one non-critical service for a sprint. Measure (a) added DB write latency at p95, (b) table growth per day, (c) whether any request fails because of a logging error. If any of those three disappoint, stop.

How to Pitch It (Stakeholders)

To executives (one paragraph): We are evaluating a small open-source component that gives us a searchable, shareable log viewer backed by our existing database — no new SaaS contract, no new infrastructure. It addresses a real operational gap: today, when a customer reports a problem, engineers must SSH into servers and grep files, which fails entirely once we run more than one app server. Adopting it would let support staff resolve a class of tickets without engineering involvement and would give us queryable per-tenant history during incidents. The honest caveat is maturity: this is a young project with a single maintainer and no production track record. We are therefore proposing a one-service, one-sprint pilot with explicit success metrics, treating it as an internal tool we are prepared to own and fork rather than a vendor dependency. If the pilot fails, the cost is a sprint of one engineer's fraction and we fall back to a hosted logging plan we would have needed anyway.

To engineering (one paragraph): This is a database-backed log viewer for Laravel — it ships logs to a table and puts a UI on top, which means structured, joinable records with request/user/tenant context, and it works correctly across multiple app servers and ephemeral containers, which file-based viewers do not. It is MIT and small enough to read end-to-end in an afternoon, so treat it as a starting point we can fork rather than a black box. Before we adopt it we need four answers: does a failure in the log writer ever break the request path; what does the table growth and index cost look like at our volume; where does the table live (strongly prefer its own connection, not the primary, so it cannot affect connection pooling or backup size); and does it redact known-sensitive fields. The risk is not technical complexity — it is that this is a 3-star, zero-dependent project, so we pin the version and accept maintenance ownership.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core