Remove composer.phar to use the one supplied by the buildpack.
Send logs to syslog and store sessions in db
Restrict logging to errors only on default deployment.
Fix missing comma
Fix missing semicolon
Put $deployment into right place