An open API service indexing awesome lists of open source software.

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

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