Macのコンソールで表示される文字が小さいので何か解決策が欲しい
Macのコンソールで表示される文字が小さいので何か解決策が欲しいんだけど、フォントの種類とか大きさを設定する機能がない模様。
何か方法はないかとググったが存外単純な解決策はなく、コンソール以外の方法を使うしかなさそうだ。
- 任意のターミナルエミュレータで
less +F [File]
コマンドを使うctrl + c
でノーマルモード、F
で監視モードに戻る- 一つのログファイルを見るのであればこれで良さそう
- 任意のターミナルエミュレータで
tail -F [File]
コマンドを使うctrl + c
で終了-n NUMBER
オプションで最初に表示する行数を指定、デフォルトは10行- 複数のログファイルも一応追える
- 変更を感知して再読込するテキストエディターで開いておく
- ファイルをうっかり編集してしまう恐れがあるので、これはやりたくないけど手頃
- 他のログ監視ツールを使う
- Log Transformer - Home
- $2.99/month, paid quarterly.
- 機能限定の無料版も有り
- アカウントを登録が必要
- LogTail - Local and Remote log file viewer for Mac OS X
- $14.99/¥1,840
- Log Transformer - Home
- 他のログ監視ツールを使う(フリー、2020-07-17追記)
- glogg — glogg - the fast, smart log explorer
- Open Log Viewer | Apps | Electron
- Electron製なのでアプリケーションファイルサイズが240MB位とでかい。
- The Log File Navigator(コマンドラインツール)
- Welcome to lnav’s documentation! — lnav 0.8.6 documentation
- 一応
homebrew
でもインストールできたbrew install lnav
- Log-Viewer on the Mac App Store(2023-06-03追記)
2020-07-17追記
なんか「log viewer for mac」でググったら、それっぽいのがそこそこ見つかった。 フリーのGUIツールでは「glogg — glogg - the fast, smart log explorer」が良さげ。
参考ページ
- console.app font size - Apple Community
- linux - Alternative for "tail -f" that follows filename - Super User
- tmux - What's an alternative to tail -f that has convenient scrolling? - Unix & Linux Stack Exchange
- Linux tail command help and examples
- Linux and Unix tail command tutorial with examples | George Ornbo
- tail コマンド | コマンドの使い方(Linux) | hydroculのメモ
- MultiTailで効率的にログを見る - Qiita
- GitHub - tigrawap/slit: slit - a modern PAGER for viewing logs, get more than most in less time
- GitHub - SuprHackerSteve/Crescendo: Crescendo is a swift based, real time event viewer for macOS. It utilizes Apple's Endpoint Security Framework.
- Log Transformer - Home
- LogTail - Local and Remote log file viewer for Mac OS X