← Back to Skills
DevOps

log-tail

xejrax By xejrax 👁 5 views ▲ 0 votes

Stream recent logs from systemd journal

GitHub
---
name: log-tail
description: "Stream recent logs from systemd journal"
metadata:
  {
    "openclaw":
      {
        "emoji": "📜",
        "requires": { "bins": ["journalctl"] },
        "install": [],
      },
  }
---

# Log Tail

Stream recent logs from the systemd journal. View logs by service unit, control line count, and optionally follow in real time.

## Commands

```bash
# Show recent journal logs (default: 50 lines)
log-tail [--unit <service>] [--lines 50]

# Follow logs for a specific service in real time
log-tail --follow <service>
```

## Install

No installation needed. `journalctl` is always present on systemd-based systems like Bazzite/Fedora.
devops

Comments

Sign in to leave a comment

Loading comments...