https://github.com/tkmxqrdxddd/logviewer-systemd
Program for easier use of journalctl
https://github.com/tkmxqrdxddd/logviewer-systemd
journalctl logging rust-lang systemd user-friendly
Last synced: 5 months ago
JSON representation
Program for easier use of journalctl
- Host: GitHub
- URL: https://github.com/tkmxqrdxddd/logviewer-systemd
- Owner: tkmxqrdxddd
- License: gpl-3.0
- Created: 2024-09-13T14:58:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-10T12:58:39.000Z (over 1 year ago)
- Last Synced: 2025-04-09T22:45:19.398Z (about 1 year ago)
- Topics: journalctl, logging, rust-lang, systemd, user-friendly
- Language: Rust
- Homepage:
- Size: 81.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Logviewer-systemd
Logviewer-systemd is a command-line tool that filters and saves system logs based on specified criteria.
## If it does not show anything, run it as root
## Usage
| Command | Description |
| --- | --- |
| `logviewer --help` | Display the help message. |
| `logviewer -s ` | Save logs to the specified path. |
| `logviewer -k ` | Filter logs by the specified keyword. |
| `logviewer -u ` | Filter logs by the specified unit. |
| `logviewer -r` | Logging in real time |
## Dependencies
[Rust language](https://www.rust-lang.org/tools/install)
# Installation
## From source:
```bash
$ git clone https://github.com/tkmxqrdxddd/logviewer-systemd
$ cd logviewer-systemd
$ cargo install --path .
```
## Arch Linux
Use AUR Helper
```bash
$ paru -S logviewer-systemd
$ yay -S logviewer-systemd
```
Or install manually
```bash
$ git clone https://github.com/tkmxqrdxddd/logviewer-systemd
$ cd logviewer-systemd
$ makepkg -si
```
## Debian
```bash
wget https://github.com/tkmxqrdxddd/logviewer-systemd/releases/download/v1.0.0/logviewer_1.0.0_amd64.deb
sudo dkpg -i logviewer_1.0.0_amd64.deb