Created
February 25, 2015 00:57
-
-
Save camsaul/3b3fdb4ae72bf71db9ff to your computer and use it in GitHub Desktop.
Filtered Docker Logs
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
docker attach expa_data | perl -ne 'if (!m/^\s*$/ && !m/stdout/) { s/^\[[^\]]+\]\s*(.*$)/$1/m; print; }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment