Created
June 20, 2013 08:19
-
-
Save savs/5821085 to your computer and use it in GitHub Desktop.
See what images CQ is serving when using the adaptive image component.
Usage: filter.sh /path/to/cq/crx-quickstart
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
#!/bin/bash | |
PATH=$1 | |
echo "Monitoring $1/logs/access.log" | |
/usr/bin/tail -f "$PATH/logs/access.log" | \ | |
GREP_COLOR='01;32' /usr/bin/grep --line-buffered --color=always 'high\|medium\|low\|full\|adapt\.' |\ | |
/usr/bin/cut -d ' ' -f 6,7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment