freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
100 stars 25 forks source link

Enabled optional json logging in prod settings #53

Closed msheiny closed 7 years ago

msheiny commented 7 years ago

Requires the environment variable DJANGO_LOG be set to 'true' or 'yes'. Will dump log files into ${root_directory_django_codebase} + /logs.

conorsch commented 7 years ago

This looks good, let's get it in! :shipit:

Logging is important enough that we can withstand a small bit of breakage to deploy in, on the off-chance this doesn't work immediately as advertised (and as it already does under the FPF Wagtail site).