Skip to content

Instantly share code, notes, and snippets.

@stratigos
Last active October 29, 2015 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stratigos/e0a916e1460e322c9396 to your computer and use it in GitHub Desktop.
Save stratigos/e0a916e1460e322c9396 to your computer and use it in GitHub Desktop.
View apache error log with newlines for each entry, formatted with sed
# place in .bash_aliases or similar shell setup file
alias elog="tail -f /var/log/httpd/your-error_log | sed -e 's/\\\n/\n/g'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment