carribeiro / vdeli

Video Delivery Network
2 stars 0 forks source link

Collect nginx logfiles and save them in the cdnmanager server #48

Open carribeiro opened 13 years ago

carribeiro commented 13 years ago

The cdnservers store the video access information in the nginx logfile. These files are rotated daily (see #47) and then should be transferred to the central cdnmanager server.

The cdnmanager can do it using a daily celery task, that logs into the cdnserver and retrieves the log file. The logfile has a unique name (the hostname and the date are included in the name) so you can just put it into a single directory for now.

Notes:

carribeiro commented 13 years ago

Logfiles will be collected in the cdnmanager node under /srv/vdeli/cdnmanager/data. THis directory has to be created by the cdnmanager's fabfile too.