nginx-buildpack icon indicating copy to clipboard operation
nginx-buildpack copied to clipboard

Removed echo in order not to pollute logs

Open lukaszb opened this issue 10 years ago • 1 comments

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

lukaszb avatar Dec 26 '14 00:12 lukaszb

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)

stevepeak avatar Dec 26 '14 13:12 stevepeak