Created
February 3, 2015 13:01
-
-
Save angry-dan/31ae9d110d13bc898705 to your computer and use it in GitHub Desktop.
Bash one-liners for reading and analyzing Acquia's log files.
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
| # Find and print all PHP errors that found their way into watchdog, sorted by number of ocurrences | |
| zgrep '|php|' drupal-watchdog.log* | cut -d'|' -f9 | sed -r "s/(.*?)request_id\=\"[0-9a-f-]*\"/\1/" | sort | uniq -c | sort -rn | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment