ryandotsmith / nginx-buildpack

Run NGINX in front of your app server on Heroku
457 stars 248 forks source link

Removed echo in order not to pollute logs #44

Open lukaszb opened 9 years ago

lukaszb commented 9 years ago

Currently when app is deployed with this buildpack, it logs every 1 second.

stevepeak commented 9 years ago

From my understanding it's intended to be a safe guard.

In your application add this which will inform the buildpack that your app has started properly.

with open('/tmp/app-initialized', 'a'):
    os.utime('/tmp/app-initialized', None)