Skip to main content

Systemd

The application runs under systemd as service corsa-pii:
sudo systemctl status corsa-pii.service
sudo systemctl stop corsa-pii.service
sudo systemctl enable corsa-pii.service

Logs

Use journalctl to view logs:
journalctl -u corsa-pii

Datadog

You can send logs to Datadog by setting two environment variables:
  • DD_API_KEY - Your Datadog API key
  • DD_TAGS - e.g. env:prod

Log Level

Set the LOG_LEVEL environment variable to debug for more verbose logging. For the Debian package, add this to /etc/corsa-pii/environment and restart the corsa-pii systemd service.