Skip to main content

alogs — Android Log Analyzer (console)

alogs is a cross-platform terminal UI for reading, filtering and exporting Android logs. It opens saved logcat files (any common logcat / Android Studio format, auto-detected) or streams live from adb logcat, and lets you narrow the view by app/PID, log level and tag using a command line plus a clickable filter panel.

Features: all common logcat / Android Studio formats auto-detected · level / tag / app filters with a clickable filter panel · live adb logcat with follow mode (saved to a file as it streams) · search in tags, messages and PIDs · export of the filtered view.

Installation

The package is alogs-cli, the command it installs is alogs.

With uv (recommended — it downloads a suitable Python itself):

uv tool install alogs-cli
uv tool upgrade alogs-cli      # later updates

or with pipx: pipx install alogs-cli. Works the same on Windows, macOS and Linux.

Without Python: download the single-file binary for your OS from the latest release and put it on your PATH:

OS File Notes
Windows alogs-<version>-windows-x86_64.exe rename to alogs.exe; SmartScreen may ask once (More info → Run anyway)
macOS (Apple silicon) alogs-<version>-macos-arm64 chmod +x, then xattr -d com.apple.quarantine <file> (unsigned)
Linux alogs-<version>-linux-x86_64 chmod +x

The binaries unpack themselves to the temp folder on start (about 1 s).

Check an installation: alogs --self-test some.log opens the log headless and prints e.g. alogs 0.1.0 self-test: OK 10 entries, format threadtime - 100%.

For live mode you need Android platform-tools (adb) — already there if Android Studio is installed.

Usage

alogs                     # empty screen, then type commands (`help`)
alogs path/to/log.txt     # open a file
alogs --adb               # live from the device, saved to adblog-YYYY-MM-DD-HHMMSS.log
alogs --adb --serial R58M --no-save
alogs --format brief x.log

# start with filters (same as the levels / tag / app commands; options repeatable)
alogs crash.log --levels W,E --tag AndroidRuntime --tag "My Tag" --app com.example.app --pid 1234
alogs --adb --levels=-D,-V      # values starting with '-' need '='

When you quit, alogs prints the command line that reopens the same file/device with the current filters.

Inside the app, search finds tags (search net), messages (search -m timeout) or the PIDs logging them (search -app -m FATAL) and lets you tick results into the filter. help lists all commands.

adb is found on PATH, else via sdk.dir in local.properties (current folder or a parent, as in an Android Studio project), else ANDROID_HOME / ANDROID_SDK_ROOT, else the default SDK folder.

Development

uv sync --all-groups         # .venv with runtime, test and build dependencies
uv run alogs path/to/log.txt # run from source
uv run pytest                # tests
uv tool install .            # install your working copy as the `alogs` command
uv run --group build python scripts/build_binary.py   # single-file binary for this OS

Releases are built and published by GitHub Actions when a version tag is pushed — see RELEASING.md.

Documentation

Doc Content
01 – Overview Goals, non-goals, platforms, glossary
02 – UI layout Screen zones, mockup, mouse/keyboard interaction
03 – Commands Command reference
04 – Filtering model Filter state and rules (levels, tags, apps)
05 – Log sources File / adb sources, package↔PID resolution, encoding
06 – Architecture Python + Textual module layout, data flow, performance, testing, packaging
07 – Tech stack decision Node.js vs Python vs Kotlin comparison (ADR)
08 – Roadmap Milestones, future ideas, open questions
09 – Log formats & parsers Format catalog, pluggable parsers, auto-detection

Requirements at runtime: a modern terminal (Windows Terminal, iTerm2, any xterm-compatible), and Android platform-tools (adb) for live mode.

Note: openadb saves the received log to adblog-*.log in the current folder; device logs can contain personal data — use --no-save if you don't want that file.

License: MIT (see LICENSE) · Author: Vasil Khodzin

Metadata

Release files for alogs-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alogs-cli 0.1.0
File Size Uploaded
alogs_cli-0.1.0.tar.gz 83.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alogs-cli 0.1.0
File Interpreter ABI Platform
alogs_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 133.9 kB

Release files / alogs_cli-0.1.0.tar.gz

Download URL alogs_cli-0.1.0.tar.gz
Size 83.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ffa0d285dbc86b179f3f4cb5fa9e29dc72127196d4b3cd513d9e33ba2bcf9ec7
BLAKE2b-256 checksum
How to use checksums
34efce8e55668fbfec58e9ffb8813070fe39fc980852951fed3dcfdca1f4396d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / alogs_cli-0.1.0-py3-none-any.whl

Download URL alogs_cli-0.1.0-py3-none-any.whl
Size 50.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bd7abd5462173fa3264d826566ed417e6a672cb3855b465bd3db82a65813779
BLAKE2b-256 checksum
How to use checksums
aee0d79170eab89d8f296e18d82aeca7d207cedb01020a24580a8a27333c115b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page