User:NNikkhoui (WMF)/API Setup Notes

Hosting edit

  • Setup app as systemd service if running on cloudvps

Logging edit

  • Cannot send logs to deployment-prep logstash from CloudVPS or Toolforge.
  • Can send logs to production logstash from deployment-prep CloudVPS
  • Logs must be sent to kafka, cannot be sent to logstash
  • CloudVPS is blocked off from production
  • To send logs from deployment-prep to logstash, setup your API as a systemd service. Ensure logs are either getting sent to stdout OR a supported logfile. Follow instructions to add your service to lookup table