datatracker/k8s
Jennifer Richards 6a96a69234
feat: improve / clean up logging (#7591)
* refactor: always use console log handler

* refactor: json for k8s, plain otherwise

* chore: remove syslog from wsgi.py

* chore: remove debug.log()

* chore: drop syslog from settings.py

* refactor: use log.log() in person.utils

* refactor: fetch_meeting_attendance->log.log()

* chore: gunicorn logs as JSON (wip)

* feat: better json log formatting

* refactor: improve log config

* feat: gunicorn access log fields

* fix: remove type hints

The gunicorn logger plays tricks with the
LogRecord args parameter to let it have string
keys instead of being a simple tuple.
The mypy tests rightly flag this. Rather
than fighting the typing, just remove the
hints and leave a comment warning not to
use the gunicorn-specific formatter with
other loggers.
2024-06-26 14:53:05 -05:00
..
beat.yaml chore: adjustments for k8s deployment (#7531) 2024-06-14 09:28:14 -05:00
celery.yaml ci: writeable /home/datatracker 2024-06-20 11:34:57 -03:00
datatracker.yaml ci: writeable /home/datatracker 2024-06-20 11:34:57 -03:00
django-config.yaml ci: get registration API key from env (#7564) 2024-06-19 13:43:43 -05:00
kustomization.yaml ci: k8s fixup (#7401) 2024-05-13 21:41:36 -04:00
memcached.yaml ci: "true" 2024-05-13 21:41:36 -04:00
rabbitmq.yaml ci: k8s fixup (#7401) 2024-05-13 21:41:36 -04:00
settings_local.py feat: improve / clean up logging (#7591) 2024-06-26 14:53:05 -05:00