selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

logarr logo

Self-host logarr

4.5m

Self-hosted PHP log consolidation and monitoring tool

ReleaseOpen SourceMIT
Updated9 hours ago
LanguageJavaScript
Setup difficultyModerate
Stars
282
Port
80 (HTTP web interface)
Docker
monitorr/logarr
Install with Docker

What is logarr?

This PHP-based log viewer aggregates text logs from multiple sources into one browser page. It shows the newest entries first, lets you search across all logs at once, highlights error keywords automatically, and provides collapsible panels for each log file. You can roll or download logs, set a maximum line count to keep the UI responsive, and update the application itself from the web interface. Configuration is done by editing a PHP array that maps friendly names to absolute file paths; a Docker image bundles Nginx and PHP so the only host-side requirements are a volume for config and a volume for the log files you want to watch. The codebase has been unchanged since early 2020.

Should you self-host logarr?

logarr scores 42/100 on selfhost.directory (how scoring works) and ranks #12 of 13 in Log Management. It has 282 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is Dozzle (77/100, 14 752 stars). It scores higher overall, so compare the two before you pick. See logarr vs Dozzle side by side.

Features

  • Collapsible Log Tiles
  • Consolidated search and highlight
  • Dynamic log paths
  • Error term auto-highlighting
  • GUI application updates
  • Live Log Display
  • Localized server date/time display
  • Log auto-update toggle
  • Log download tool
  • Log file size and path display
  • Log rolling tool
  • Max line limit
  • Reverse log display

logarr README

How to install logarr

Install logarr with Docker

Docker Engine

docker create
--name=logarr
--restart=on-failure
-v :/config
-v :/var/log/logarrlogs
-e TZ=
-p 80:80
monitorr/logarr

Requires host paths for config and logs, and timezone environment variable

How to configure logarr

  • logsSonarr, Radarr, PHP example pathsArray of log name to absolute path mappings

    Array of log name to absolute path mappings

  • max-lines2000Default line limit for all logs

    Default line limit for all logs

  • rflog30000Log auto-update interval in milliseconds when enabled via toggle switch

    Log auto-update interval in milliseconds when enabled via toggle switch

  • rftime180000UI clock synchronization interval in milliseconds

    UI clock synchronization interval in milliseconds

  • timestandard0Time format for UI clock display

    Time format for UI clock display

    values: 1 = 12-hour format | 0 = 24-hour format

  • timezoneUTCTimezone used for UI clock

    Timezone used for UI clock

    values: PHP timezone identifiers (e.g., America/Los_Angeles)

  • titleLogarrSite Title

    Site Title

  • updateBranchmasterUpdate branch to use when updating via Logarr GUI

    Update branch to use when updating via Logarr GUI

    values: "master" or "develop"

logarr releases & version history

More in Log Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…