LoginSignup
0
0

ログハイライターtailspinのインストール手順

Posted at

目的

ログをハイライト表示するtailspinをインストールしてみたので、備忘録的に記述する。

環境

名称 バージョン
RedHat Enterprize Linux 8.9

インストール

Rustインストール

# dnf module install rust-toolset

RHEL7の場合、yum install rust-toolset-1.35-cargo(未検証)
RedHatはRustコンパイラはrustcよりもcargoを推奨している。
https://access.redhat.com/documentation/ja-jp/red_hat_developer_tools/2019.3/html/using_rust_toolset/chap-cargo

tailspinインストール

# cargo install tailspin

~/.cargo/bin/にインストールされるのでPATHを通す。

実行

# tspin -f 対象ログファイル

コマンド名は tspintailspinではないので注意

ハイライト表示のオプションについては、下記GitHubを参照のこと

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0