Read more

Make Less interpret the escape codes in a logfile

Christoph Beck
December 08, 2011Software engineer

The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does not interpret the escape sequences used in the rails logfiles. To enable this type:

less -R my_logfile.log
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

You can also have an alias to save yourself the typing

alias less='less -R'
Posted by Christoph Beck to makandra dev (2011-12-08 21:52)