Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Remove loggly handler #245

Merged
merged 2 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions busy_beaver/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@
},
},
"handlers": {
"console": {"class": "logging.StreamHandler", "formatter": "standard"},
"loggly": {
"class": "logging.handlers.SysLogHandler",
"address": ("loggly", 514) if IN_PRODUCTION else "/dev/log",
"formatter": "json",
},
"console": {"class": "logging.StreamHandler", "formatter": "standard"}
},
"loggers": {
"busy_beaver": {
Expand Down
12 changes: 0 additions & 12 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ services:
image: alysivji/busy-beaver:latest
command: webserver
restart: always
depends_on: &app_depends_on
- loggly
environment: &app_env_vars
IN_PRODUCTION: 1
PYTHONPATH: .
Expand Down Expand Up @@ -68,7 +66,6 @@ services:
image: alysivji/busy-beaver:latest
command: worker
restart: always
depends_on: *app_depends_on
environment: *app_env_vars
networks:
- local
Expand All @@ -86,12 +83,3 @@ services:
- local
labels:
- traefik.enable=false
loggly: # collect logs
image: sendgridlabs/loggly-docker
environment:
TOKEN: ${BUSYBEAVER_LOGGLY_TOKEN}
TAG: PROD
networks:
- local
labels:
- traefik.enable=false
7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,3 @@ services:
volumes: *app_volumes
stdin_open: true
tty: true

# tools
# loggly:
# image: sendgridlabs/loggly-docker
# environment:
# TOKEN: ${BUSYBEAVER_LOGGLY_TOKEN}
# TAG: DEV