feat(healthcheck): Skip healthcheck logs in express if needed (#60)

* feat(healthcheck): Skip healthcheck logs in express if needed
This commit is contained in:
Techno Tim
2021-11-12 18:35:49 -06:00
committed by GitHub
parent 49aa916072
commit a1fd0873d3
5 changed files with 112 additions and 86 deletions

View File

@@ -51,6 +51,12 @@ A health check endpoint exists on `/healthcheck`. If healthy, it will return wi
}
```
To skip express from logging these calls, add the environment variable:
```bash
SKIP_HEALTH_CHECK_LOGS=true
```
## 🐳 Docker
This container image is published on both [GitHub Container Registry](https://github.com/techno-tim/littlelink-server/pkgs/container/littlelink-server) and [DockerHub](https://hub.docker.com/repository/docker/timothystewart6/littlelink-server) choose whichever one works for you. They will both be updated during CI.