Skip to content

Setup Club Log Integration

Peter Goodhall edited this page Oct 13, 2019 · 5 revisions

Club Log integration at the moment inside Cloudlog is a bit clunky I'll admit, but we will improve it over time, to set up syncing within Cloudlog edit the user you have logged in with. In the edit screen at the bottom, you will see it requesting

  • Club Log Email/Callsign
  • Club Log Password

Provide these and save, These details are what you will use to allow Club Log to accept communication from Cloudlog.

Next, you can test it works by going to <url-to-cloudlog> /index.php/clublog/upload/<The-Cloudlog-Username-You-Just-Added-Logins-To> you should see a success message if it worked, Cloudlog will need write access to the /uploads folder. We recommend you run this as a cronjob

0 */6 * * * curl --silent https://<url-and-path-to-cloudlog>/index.php/clublog/upload/<The-Cloudlog-Username-You-Just-Added-Logins-To> &>/dev/null

Club Log Real-Time

Cloudlog supports sending to the Club Log realtime API, due to the design of Cloudlog to run on a web server, you need to setup a cronjob to run every minute or so

*/2 * * * * curl --silent https://<url-and-path-to-cloudlog>/index.php/clublog/realtime/<The-Cloudlog-Username-You-Just-Added-Logins-To>  &>/dev/null
Clone this wiki locally