# Logister Full AI Context Logister is an open source, self-hosted error monitoring and bug triage app for teams that want a forkable alternative to Bugsnag, Sentry, and Bugzilla-style workflows. The primary Logister deployment model is self-hosting. The public hosted app at https://logister.org/ is secondary. The source repository is https://github.com/taimoorq/logister. Canonical docs are organized as a practical self-hosted product manual: Documentation, Installation, Configuration, Usage, Integrations, CLI read workflows, API reference, and Troubleshooting. Feature explanations should define the concept, explain why it exists, show how users interact with it, name common failure modes, and point to the next guide. Fresh self-hosted instances are claimed at `/setup` with a one-time `LOGISTER_SETUP_TOKEN`. The created account is confirmed and receives a durable database-backed administrator role. The persistent Admin → Installation workflow configures and verifies General, Redis/Sidekiq, SMTP, ClickHouse, archive storage, GitHub App, Turnstile, public-site settings, and self-observability. Nonblank environment variables take precedence over encrypted database fallbacks, and the UI labels overrides without displaying secrets. The screenshot-backed onboarding and add-on guide is https://logister.org/docs/self-hosting/onboarding/. It starts with separate paths for a fresh install, adding one optional service, or changing configuration later. ## What Logister Does - Captures application errors, logs, metrics, transactions, spans, and check-ins. - Groups repeated errors into triageable error groups. - Stores stacktrace, request method, request URL/path, request context, occurrence history, assignment, status, release, environment, and source/deployment context when integrations provide them. - Supports optional project-scoped GitHub App source integration for private repository source excerpts, CODEOWNERS hints, explicit repository connections, deployment links, and GitHub issue creation when Issues write permission is granted. - Lets project users assign grouped errors to teammates, filter by assignee, mark fixed, ignore, archive, reopen, and inspect occurrence history. - Provides cross-app dashboard exploration with server-backed aggregate endpoints. - Provides CLI read access for terminal workflows, scripts, and AI-assisted debugging through user-scoped CLI access tokens. - Provides project performance views with transactions, database metrics, release health, and span-backed request load breakdowns. - Sends purpose-based project notifications through SMTP, commonly Amazon SES: new or reopened error groups, milestones, single-error volume, project spikes, latency alerts, monitor alerts, workflow routing, digests, release summaries, usage warnings, and retention/archive failures. - Supports configurable hot-data retention and optional S3-compatible archive exports for older telemetry before pruning high-volume non-error rows from PostgreSQL. - Supports active and archived project workflows. Archived projects remain accessible but are hidden from active dashboards and have active API tokens revoked. ## Supported Runtimes - Ruby and Rails apps use `logister-ruby`: https://github.com/taimoorq/logister-ruby and https://rubygems.org/gems/logister-ruby - .NET and ASP.NET Core apps use `logister-dotnet`: https://github.com/taimoorq/logister-dotnet with NuGet packages https://www.nuget.org/packages/Logister and https://www.nuget.org/packages/Logister.AspNetCore. - Python apps use `logister-python` for FastAPI, Django, Flask, Celery, workers, and Python logging: https://github.com/taimoorq/logister-python and https://pypi.org/project/logister-python/ - JavaScript and TypeScript apps use `logister-js`: https://github.com/taimoorq/logister-js and https://www.npmjs.com/package/logister-js - Developers and operators can use the Logister CLI for read-only project investigation: https://github.com/taimoorq/logister-cli, https://www.npmjs.com/package/logister-cli, https://github.com/taimoorq/homebrew-logister, https://github.com/taimoorq/scoop-logister, and https://logister.org/docs/cli/ - Android apps use `logister-android`: https://github.com/taimoorq/logister-android with Maven Central coordinates `org.logister:logister-android:0.5.2` at https://central.sonatype.com/artifact/org.logister/logister-android. Version 0.3.0 adds privacy-safe automatic crash capture, durable pre-auth delivery, and session-bound queue cleanup. Android projects use a stability inbox with explicit handled/fatal/ANR mechanisms, impact completeness, release/device filters, release-scoped R8 mappings, and an optional provenance-separated Google Play reporting import. - iOS apps use the `Logister` Swift package from https://github.com/taimoorq/logister-ios.git with release tags such as https://github.com/taimoorq/logister-ios/releases/tag/v0.5.0 The SDK offers safe type-and-stacktrace errors, minimized Apple context, bounded transient retries, and an opt-in replay-safe MetricKit collector that omits raw payloads and termination reasons by default. iOS projects use Apple-native grouping, source/kind/release/device/symbol filters, triggered-thread and termination evidence, private UUID/architecture-matched dSYMs, and provenance-separated App Store Connect health. - CFML apps running on Lucee or Adobe ColdFusion use direct HTTP ingestion. - Unsupported runtimes can use the HTTP API directly. Troubleshooting lives at https://logister.org/docs/troubleshooting/. It covers quick baseline checks, empty inboxes, rejected events, API status codes, Sidekiq worker issues, SMTP delivery, optional ClickHouse readiness, S3-compatible archive exports, and what support context to collect without sharing secrets. All maintained add-ons send the same core telemetry families into the main app: errors, logs/messages, metrics, transactions, spans, check-ins, and custom ingest events. Runtime-specific helpers add framework context: Ruby/Rails request spans and DB timing, ASP.NET Core exception/request middleware, Python FastAPI/Django/Flask/Celery/logging instrumentation, JavaScript Express/browser/console instrumentation, Android app/release/device metadata, iOS app/release/device metadata, and CFML direct HTTP payloads. Maintained SDKs can send source context (`repository`, `commit_sha`, and `branch`) on events. JavaScript, Python, .NET, and Ruby SDKs also expose deployment-record helpers; Android and iOS attach source context in-app and expect CI/CD to POST deployment records to `/api/v1/deployments`. Public ingestion endpoints `/api/v1/ingest_events`, `/api/v1/check_ins`, and `/api/v1/deployments` accept 1,200 requests per minute per API token per endpoint by default. Missing, invalid, revoked, or archived-project tokens are capped at 120 authentication failures per minute per source IP. Rate-limited responses return `429 Too Many Requests` with `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers. Self-hosters can tune the global defaults with `LOGISTER_PUBLIC_API_RATE_LIMIT_REQUESTS`, `LOGISTER_PUBLIC_API_RATE_LIMIT_PERIOD_SECONDS`, and `LOGISTER_PUBLIC_API_AUTH_FAILURE_RATE_LIMIT_REQUESTS`. Database-backed app administrators and break-glass admins from `LOGISTER_ADMIN_EMAILS` can set project-level overrides from project settings; project owners and shared project members cannot. Source-linked debugging works best when SDKs and custom clients send `repository`, `commit_sha`, `branch`, `release`, and `environment` on error events. CI/CD can also POST a `deployment` envelope to `/api/v1/deployments` with `release`, `repository`, `commit_sha`, optional `branch`, `deployed_at`, `pull_request_number`, `release_tag`, and GitHub URLs so Logister can show source excerpts, PR/release links, and "this started after deploy X" context. GitHub App setup docs live at https://logister.org/docs/github-app/. Self-hosters create their own GitHub App instead of storing personal access tokens. Required variables are `LOGISTER_GITHUB_APP_ID`, `LOGISTER_GITHUB_APP_PRIVATE_KEY`, `LOGISTER_GITHUB_WEBHOOK_SECRET`, and either `LOGISTER_GITHUB_APP_SLUG` or `LOGISTER_GITHUB_APP_INSTALL_URL`; GitHub Enterprise Server installs can also set `LOGISTER_GITHUB_API_URL` and `LOGISTER_GITHUB_WEB_URL`. Project owners and project admins install or link GitHub App installations from project settings, sync repository metadata, and explicitly connect the repositories each project should use. Syncing or telemetry alone does not create source mappings. Source lookup diagnostics live at https://logister.org/docs/github-app/source-lookup/. Logister CLI docs live at https://logister.org/docs/cli/. The npm package requires Node.js 22+ and installs with `npm install -g logister-cli`; Homebrew and Scoop install the same canonical npm artifact through `brew tap taimoorq/logister && brew install logister` or `scoop bucket add logister https://github.com/taimoorq/scoop-logister && scoop install logister`. Source is at https://github.com/taimoorq/logister-cli. Browser-approved login issues user-scoped, expiring CLI access tokens, can limit access to selected projects, and shows requested read scopes. Signed-in users can review active and recently ended CLI sessions in their profile, revoke one session, or revoke every active session. Project ingest API keys are not accepted for CLI reads. API contract 3.5 adds safe session diagnostics and read routes for projects, summaries, events, logs, transactions, traces, monitors, deployments, Insights, metrics, grouped issues, exports, and AI context. PostgreSQL fallback analytics report `partial` and minimized `fallback_coverage` metadata when retention cannot cover the complete requested range. Authenticated CLI reads have a request-wide PostgreSQL execution ceiling; an exceeded limit returns a sanitized `503 query_timeout` response and callers should narrow their time range or filters. New trace, monitor, deployment, Insights, and metric discovery flags deploy disabled and are enabled only after CLI v1.0.0 is verified through npm, GitHub Releases, Homebrew, and Scoop. Existing tokens need a new login for new scopes. Event/log follow uses opaque server high-water cursors. Error-group mutations remain unavailable, and server-side redaction cannot be disabled by the CLI. ## Operational Use Cases - Docker, GHCR, Docker Hub, and optional Quay self-hosting: Logister publishes versioned release images for teams that want to pin app versions and run separate Rails web and Sidekiq worker containers. GHCR and Docker Hub are default public registries; Quay is an optional mirror when release credentials are configured. - Error assignment and team triage: Logister stores ownership on grouped errors so teammates can filter inboxes by assignee, claim unassigned work, and move production issues through fixed, ignored, archived, or reopened states. - Amazon SES project notifications: Logister sends purpose-specific project notifications through standard Rails SMTP settings, commonly backed by SES in self-hosted deployments. ## Self-Hosted Stack - Rails web app served by Puma. - PostgreSQL for accounts, projects, API keys, events, grouped errors, monitors, notification preferences, and sharing. - Redis for caching and Sidekiq. - Sidekiq worker for async jobs, Action Mailer delivery, project notifications, digest scheduling, optional ClickHouse writes, and operator-run archive/prune tasks. - SMTP/Amazon SES for auth mail, project alerts, digests, monitor alerts, and operational notices. - Optional S3-compatible archive storage through Active Storage for compressed JSONL archive exports. - Optional ClickHouse for higher-volume event/span analytics, raw tables, and one-minute rollups. - Optional GitHub App source integration for private repository access without personal tokens. - Optional Cloudflare Turnstile for auth bot protection. - Optional Cloudflare Pages for static docs hosting. - Optional Cloudflare Pages project integration for manual HTTP telemetry today and importer settings ahead of automatic account fetching. ## Storage And Retention - PostgreSQL remains the primary system of record for the product UI. - ClickHouse is optional and stores a secondary analytics copy of new raw events and spans when enabled. - `dual_write` is a temporary schema/backfill/coverage state. It writes to ClickHouse but keeps supported dashboard analytics on PostgreSQL, so it does not speed up slow overview graphs. - `read_preferred` keeps PostgreSQL as the product system of record while moving supported analytics reads to ClickHouse, with PostgreSQL fallback when a ClickHouse query fails. - ClickHouse readiness requires the event table, span table, one-minute rollup tables, materialized views from `docs/clickhouse_schema.sql`, and matching stable-window event coverage before read cutover. - `/health/clickhouse` reports connectivity, schema readiness, and `clickhouse_mode`. A `200` response with `dual_write` does not mean dashboard reads use ClickHouse. - The legacy `LOGISTER_CLICKHOUSE_ENABLED=true` setting selects only `dual_write`; use `LOGISTER_CLICKHOUSE_MODE=read_preferred` after coverage passes. - ClickHouse write failures are reported through `logister-ruby` as throttled error events when Logister self-observability is configured. - Data retention docs are split by task: overview, policy choices, archive storage, and durable retention jobs at https://logister.org/docs/product/data-retention/. - S3-compatible archive storage is optional and uses Active Storage with `ACTIVE_STORAGE_SERVICE=amazon` plus AWS/S3 variables. - Project retention advances through a durable PostgreSQL run ledger with bounded object attempts, stale-attempt fencing, and a dedicated `archives` Sidekiq queue before exact verified source cleanup. The legacy global `logister:telemetry:prune_hot` task is disabled. ## Release Distribution - GitHub Releases: https://github.com/taimoorq/logister/releases - GHCR package: https://github.com/taimoorq/logister/pkgs/container/logister - Docker Hub package: https://hub.docker.com/r/taimoorq/logister - Optional Quay mirror: `quay.io/taimoorq/logister` when `QUAY_USERNAME` and `QUAY_TOKEN` are configured - Current versioned images: `ghcr.io/taimoorq/logister:v3.6.11` or `docker.io/taimoorq/logister:v3.6.11` - Latest images: `ghcr.io/taimoorq/logister:latest` or `docker.io/taimoorq/logister:latest` - After CI validates a version-changing main commit, the release workflow builds one canonical image, verifies the same digest through public GHCR, Docker Hub, and optional Quay references, deploys that digest to Fly, and checks the public runtime identity. ## Maintainer And Discovery Context - Documentation style guide: https://github.com/taimoorq/logister/blob/main/docs/documentation-style-guide.md - Public docs, GitHub Releases, GHCR images, Docker Hub images, optional Quay mirrors, RubyGems, NuGet, PyPI, npm, Maven Central, Swift Package Manager tags, `llms.txt`, and `llms-full.txt` should stay aligned after each release. ## License And Brand - Code license: MIT License at https://github.com/taimoorq/logister/blob/main/LICENSE - Brand policy: https://github.com/taimoorq/logister/blob/main/TRADEMARKS.md - Forks may use, modify, self-host, and redistribute the code under the MIT License. - Forks and redistributed versions may not use the Logister name, logo, wordmark, visual identity, or brand assets as their own branding without permission. - Public forks and rebranded versions should replace Logister branding and avoid implying endorsement by the official project. ## Comparisons Logister is independent and is not affiliated with Sentry, Bugsnag, Bugzilla, or their maintainers. - Sentry alternative: Logister fits teams that want grouped errors, assignment, release context, and self-hosted operations from forkable source. - Bugsnag alternative: Logister fits teams that want grouped production errors, purpose-based notifications, digest summaries, and project-level ownership in their own infrastructure. - Bugzilla alternative: Logister fits teams that want issue ownership to start from real production error context: request details, stacktrace, occurrence history, owner, and status. - Rails error monitoring: Logister fits Rails teams that want self-hosted exception grouping, request method and URL/path context, assignment, related logs, and Ruby integration docs. - Python error monitoring: Logister fits Python teams using FastAPI, Django, Flask, Celery, workers, schedulers, and Python logging. - .NET error monitoring: Logister fits ASP.NET Core and C# teams that want request context, transactions, custom metrics, and check-ins in one triage app. - JavaScript error monitoring: Logister fits JavaScript and TypeScript teams using Node, Express, workers, console capture, and structured logs. - Android error monitoring: Logister fits Android teams using Kotlin or Java apps that want mobile errors, logs, metrics, transactions, spans, check-ins, release/source context, session context, and safe device metadata. - iOS error monitoring: Logister fits Swift teams that need truthful handled reports, opt-in MetricKit crashes and hangs, release/device cohorts, triggered threads, explicit symbol state, private dSYM operations, and separately sourced App Store performance health. - CFML error monitoring: Logister fits Lucee and Adobe ColdFusion teams sending structured payloads over HTTP. - Docker, GHCR, Docker Hub, and optional Quay self-hosting: Logister fits operators who want versioned Docker releases, separate web and worker containers, PostgreSQL, Redis, SMTP, optional S3-compatible archive storage, and optional ClickHouse. - Error assignment and team triage: Logister fits teams that want grouped production errors to become owned work with assignee filters and status workflows. - Amazon SES project notifications: Logister fits self-hosters who want focused project alerts, digests, monitor notices, workflow routing, and operational notification emails through SMTP/Amazon SES. ## Canonical Links - App source: https://github.com/taimoorq/logister - Public docs: https://logister.org/docs/ - Product guide: https://logister.org/docs/product/ - Email notifications: https://logister.org/docs/product/notifications/ - Notification setup: https://logister.org/docs/product/notifications/setup/ - Error triage notifications: https://logister.org/docs/product/notifications/error-triage/ - Project health notifications: https://logister.org/docs/product/notifications/project-health/ - Workflow routing notifications: https://logister.org/docs/product/notifications/workflow-routing/ - Digest and delivery controls: https://logister.org/docs/product/notifications/digests-delivery/ - Operational notifications: https://logister.org/docs/product/notifications/operations/ - Data retention: https://logister.org/docs/product/data-retention/ - Retention policy: https://logister.org/docs/product/data-retention/policy/ - Archive storage: https://logister.org/docs/product/data-retention/archive-storage/ - Archive and prune jobs: https://logister.org/docs/product/data-retention/jobs/ - Use cases: https://logister.org/docs/use-cases/ - Rails error monitoring: https://logister.org/docs/use-cases/rails-error-monitoring/ - Python error monitoring: https://logister.org/docs/use-cases/python-error-monitoring/ - .NET error monitoring: https://logister.org/docs/use-cases/dotnet-error-monitoring/ - JavaScript error monitoring: https://logister.org/docs/use-cases/javascript-error-monitoring/ - CFML error monitoring: https://logister.org/docs/use-cases/cfml-error-monitoring/ - Docker, GHCR, Docker Hub, and optional Quay self-hosting: https://logister.org/docs/use-cases/docker-ghcr-self-hosting/ - Error assignment and team triage: https://logister.org/docs/use-cases/error-assignment-team-triage/ - Amazon SES project notifications: https://logister.org/docs/use-cases/amazon-ses-error-alerts/ - Self-hosting: https://logister.org/docs/self-hosting/ - Fresh-install onboarding and add-ons: https://logister.org/docs/self-hosting/onboarding/ - Deployment config: https://logister.org/docs/deployment/ - GitHub App source integration: https://logister.org/docs/github-app/ - GitHub source lookup diagnostics: https://logister.org/docs/github-app/source-lookup/ - Docker self-hosting: https://logister.org/docs/self-hosting/#docker - ClickHouse: https://logister.org/docs/clickhouse/ - Documentation style guide: https://github.com/taimoorq/logister/blob/main/docs/documentation-style-guide.md - HTTP API: https://logister.org/docs/http-api/ - Logister CLI: https://logister.org/docs/cli/ - Troubleshooting: https://logister.org/docs/troubleshooting/ - Ruby integration: https://logister.org/docs/integrations/ruby/ - .NET integration: https://logister.org/docs/integrations/dotnet/ - Python integration: https://logister.org/docs/integrations/python/ - JavaScript integration: https://logister.org/docs/integrations/javascript/ - Logister CLI source: https://github.com/taimoorq/logister-cli - Logister CLI npm package: https://www.npmjs.com/package/logister-cli - Logister CLI Homebrew tap: https://github.com/taimoorq/homebrew-logister - Logister CLI Scoop bucket: https://github.com/taimoorq/scoop-logister - Cloudflare Pages integration: https://logister.org/docs/integrations/cloudflare-pages/ - Cloudflare Pages manual telemetry: https://logister.org/docs/integrations/cloudflare-pages/manual-telemetry/ - Cloudflare Pages importer settings: https://logister.org/docs/integrations/cloudflare-pages/importer-settings/ - Android integration: https://logister.org/docs/integrations/android/ - iOS integration: https://logister.org/docs/integrations/ios/ - CFML integration: https://logister.org/docs/integrations/cfml/ - Android Maven Central package: https://central.sonatype.com/artifact/org.logister/logister-android - iOS Swift Package release: https://github.com/taimoorq/logister-ios/releases/tag/v0.5.0 - Short AI map: https://logister.org/llms.txt - Docs AI map: https://logister.org/docs/llms.txt The core worker profile reserves three projector threads and two general job threads by default, with a separate one-thread archive profile. SIDEKIQ_CONCURRENCY is the core total and SIDEKIQ_PROJECTOR_CONCURRENCY selects its projector share. Combined workers use equal queue weights. Pipeline timing logs are sampled via LOGISTER_TELEMETRY_PROFILE_SAMPLE_RATE (default 0.01). Logister reports only its own application errors. Its self-metrics, request spans/transactions, SQL breadcrumbs, routine logs, check-ins, and deployment records are disabled. Customer projects retain all supported telemetry types. Pause obsolete self-check-in monitors when upgrading. From 3.6.10, LOGISTER_BATCHED_PROJECTION=true enables bounded durable ClickHouse payloads, source preloading, and atomic delivery acknowledgements after all workers are compatible. It defaults off. Incomplete batches retain exact compressed HTTP bodies; final acknowledgement deletes them. Turning the flag off still drains saved bodies; TelemetryProjectionBatch.count must be zero before downgrading below 3.6.10. Retention protects all members of incomplete batches. See https://logister.org/docs/product/data-retention/jobs/. From 3.6.11, LOGISTER_BOUNDED_PROJECTOR=true separately coalesces native wake hints, admits three drainers and yields unstarted work at cooperative deadline boundaries. Enable on intake and workers after the query/payload rollout. PostgreSQL owns delivery retries, with periodic lost-hint recovery and short dependency-failure cooldown. The switch defaults off; turning it off restores prior scheduling while preserving saved payloads. See https://logister.org/docs/product/data-retention/jobs/.