Troubleshooting

Tips on troubleshooting


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

You can use journalctl to view logs:

journalctl -u corsa-pii

Datadog

There is an option to send logs to datadog by setting two environment variables

  • DD_API_KEY
  • DD_TAGS (e.g. env:prod)

Log Level

You can set LOG_LEVEL environment variable to debug for more logs. For the debian package, you can add this to file /etc/corsa-pii/environment and restart the corsa-pii systemd service