2 ms·
The right tools for a gzipped log file is: less (courtesy of lesspipe). And/or zgrep. In the worst case scenario, you pipe the output of a gunzip through whate
by falcolas 10y ago
The right tools for a gzipped log file is: less (courtesy of lesspipe).
And/or zgrep. In the worst case scenario, you pipe the output of a gunzip through whatever tools you really want to use.
The same tools work on compressed and uncompressed logs, and all of that "wasted space" compresses really well. Nothing like watching gigs of log files compress down to a few megs. It's even supported automatically in most Linux operating systems via logrotate.