Created
April 18, 2020 08:44
-
-
Save gelldur/30507c6e1ff81b70ccdc6b7147adb3b4 to your computer and use it in GitHub Desktop.
[Grep docker logs] #docker #logs #error #grep
This file contains 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 logs $container 2>&1 | grep -P "\[(W|E)\]" | |
Example: | |
``` | |
04-16 22:04:19.222 [E](StatsApp) Animation has no fills: 1 in 0 | |
04-16 22:27:24.239 [E](StatsApp) Animation has no fills: 1 in 0 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment