We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edea0e5 commit 287e114Copy full SHA for 287e114
sndev
@@ -7,6 +7,10 @@ if [ -f .env.local ]; then
7
. ./.env.local
8
fi
9
10
+logFilter() {
11
+ grep -v --line-buffered --color=never -P 'POST /api/graphql \x1b\[32m200\x1b\[39m in [0-9]+ms'
12
+}
13
+
14
docker__compose() {
15
if [ ! -x "$(command -v docker)" ]; then
16
echo "docker compose is not installed"
@@ -128,7 +132,7 @@ OPTIONS"
128
132
sndev__logs() {
129
133
shift
130
134
if [ $# -eq 1 ]; then
131
- docker__compose logs -t --tail=1000 -f "$@"
135
+ docker__compose logs -t --tail=1000 -f "$@" | logFilter
136
exit 0
137
138
0 commit comments