RepoPilot

roidrage/lograge

An attempt to tame Rails' default policy to log everything.

Healthy

Strong maintenance signals

MixedDependency

dependency CVE scan unavailable

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

Scorecard "Branch-Protection" is 0/10; Scorecard "Token-Permissions" is 0/10…

  • Scorecard: default branch unprotected (0/10)
  • Last commit 2mo ago
  • 33+ active contributors
  • Distributed ownership (top contributor 20% of recent commits)
  • MIT licensed
  • CI configured
  • Tests present

What would improve this?

  • Deploy as-is Mixed to Healthy if: bring "Branch-Protection" to ≥3/10 (see scorecard report)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: roidrage/lograge

Generated by RepoPilot · document generated 2026-09-15 · concise human review Evidence snapshot · analyzed 2026-09-15T15:08:19.840Z · commit e5caed777529

Verdict

Healthy — Strong maintenance signals

  • Last commit 2mo ago
  • 33+ active contributors
  • Distributed ownership (top contributor 20% of recent commits)
  • MIT licensed
  • 2 more receipts on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against OpenSSF Scorecard

What it is

Lograge is a Rails gem that replaces Rails' verbose default request logging with a single, parseable line per request containing key-value pairs (method, path, controller, status, duration, etc.). It solves the production logging problem where Rails' multi-line output becomes unreadable when multiple processes dump logs to the same file, making monitoring and debugging nearly impossible. Modular architecture: lib/lograge.rb is the entry point; lib/lograge/log_subscribers/ contains listeners for ActionController and ActionCable events; lib/lograge/formatters/ holds 10+ output formatters (JSON, Logstash, L2MET, LTSV, Graylog2, CEE, etc.); lib/lograge/rails_ext/ patches Rails internals;…

Start here

Open these first:

  • lib/lograge.rb — Main entry point and configuration interface that initializes Lograge's core functionality and exposes the public API.
  • lib/lograge/railtie.rb — Rails engine integration point that hooks Lograge into the Rails initialization lifecycle and registers log subscribers.
  • lib/lograge/log_subscribers/action_controller.rb — Core request logging interceptor that captures and formats HTTP controller action execution events.
  • lib/lograge/formatters/json.rb — Primary JSON formatter implementation demonstrating the standard output format pattern for production logging.
  • lib/lograge/log_subscribers/base.rb — Abstract base class defining the common logging interface that all event subscribers inherit from.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone the repo, install dependencies, and run the test suite:

git clone https://github.com/roidrage/lograge.git
cd lograge
bundle install
bundle exec rspec

To test against a specific Rails version, use one of the gemfiles:

BUNDLE_GEMFILE=gemfiles/rails_7.1.gemfile bundle install
BUNDLE_GEMFILE=gemfiles/rails_7.1.gemfile bundle exec rspec

Daily commands:

This is a library gem, not a runnable app. To test it:

bundle exec rspec

To use it in a Rails app, add to Gemfile and create an initializer (see README truncation: 'Enable it in an initializer or th...'). No server command; Lograge hooks into Rails' existing logger during app boot via the Ra…

…shortened for this brief.

Key cautions & unknowns

  • Scorecard: default branch unprotected (0/10)
  • Configuration quirk: Lograge must be enabled explicitly in an initializer; if not configured, Rails will still emit default verbose logs. Formatter availability: Not all formatters may be suitable for all…
  • Published-advisory coverage was unavailable for the captured dependencies.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Healthy" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Healthy
[![RepoPilot: Healthy](https://repopilot.app/api/badge/roidrage/lograge)](https://repopilot.app/r/roidrage/lograge)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/roidrage/lograge on X, Slack, or LinkedIn.

Ask AI about roidrage/lograge

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/roidrage/lograge"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>