Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.57 KB

logging.md

File metadata and controls

47 lines (31 loc) · 1.57 KB

Logging for the production instance

⬅️ Back to USKPA Documentation

The USKPA website leverages Heroku and Django's provided logging functionality to capture platform and website activity along with selected application events of interest.

What is logged?

  1. Django Application logs:
    • Certificate status change actions
    • Certificate void actions
    • User login events
    • User logout events
    • Failed user login events
    • Server start-up events
    • All HTTP requests
  2. Heroku system and add-on logs:

Where is it logged?

Upon release, the USKPA site utilizes Papertrail add-on at the Choklad tier.

At the time of this writing, this service tier provides the following log retention:

Log volume per day Search duration Archive duration
10 MB 2 Days 7 Days

Logs may be exported from Papertrail if separate archival is desired. The service tier may also be upgraded to increase the archive duration to 365 days.

As an authenticated administrator of the USKPA site, Papertrail may be accessed via the Heroku application dashboard.

Logging Alerts

Papertrail Alerts have been configured to notify site administrators upon the detection of an ERROR log message produced by the application.

At release time, the logs are scanned every 10 minutes for new errors.

This alert is accessible and configurable via the alerts tab within Papertrail.