Skip to content

Commit

Permalink
Merge pull request #32 from seatgeek/log-format
Browse files Browse the repository at this point in the history
Log format
  • Loading branch information
burdandrei authored Jul 28, 2020
2 parents 0aec1fa + 6ab7af2 commit 74d3348
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 234 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ HEALTHCHECK_TIMEOUT | 2s |
REDIS_ADDR | 127.0.0.1:6379 |
REDIS_PASSWORD | |
LOG_LEVEL | INFO | Options are "DEBUG", "INFO", "WARN", "ERROR"
LOG_FORMAT | text | Options are "text", "json", "gelf"

##### Environment variables to configure communication with consul are similar to [Consul CLI](https://www.consul.io/docs/commands/index.html#environment-variables)

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ go 1.13

require (
github.com/bep/debounce v1.2.0
github.com/d4l3k/messagediff v1.2.1 // indirect
github.com/go-redis/redis v6.15.8+incompatible
github.com/hashicorp/consul/api v1.5.0
github.com/jpillora/backoff v1.0.0
github.com/onsi/ginkgo v1.14.0 // indirect
github.com/seatgeek/logrus-gelf-formatter v0.0.0-20180829220724-ce23ecb3f367
github.com/sirupsen/logrus v1.6.0
github.com/stretchr/testify v1.6.1
Expand Down
Loading

0 comments on commit 74d3348

Please sign in to comment.