Last active
October 29, 2015 22:07
-
-
Save stratigos/e0a916e1460e322c9396 to your computer and use it in GitHub Desktop.
View apache error log with newlines for each entry, formatted with sed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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