Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shoaibjdev/84c0303442b5ae5c43010dcc13afc596 to your computer and use it in GitHub Desktop.
Save shoaibjdev/84c0303442b5ae5c43010dcc13afc596 to your computer and use it in GitHub Desktop.
Logstalgia on mac: Install & Usage
#Download and extract logstalgia
brew install wget
wget https://github.com/acaudwell/Logstalgia/releases/download/logstalgia-1.0.7/logstalgia-1.0.7.tar.gz
tar -zxvf logstalgia*.gz
cd logstalgia*
# Install logstlagia dependencies
#brew install ttfautohint --with-qt
brew install pkg-config glew sdl2 SDL2_image sdl SDL_image boost GLM freetype pcre
#Install logstalgia
./configure
make
sudo make install
# simply tail
ssh username@yourserver.com "tail -f /var/log/nginx/access.log" | logstalgia --sync

# find and tail
ssh username@yourserver.com "find /www/*/logs/ -maxdepth 1 -type f -iname access -print0 | xargs -0 tail -f" | logstalgia --sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment