I created and deployed an app using the Python Flask sample. From the Bluemix dashboard, when I look in the log for this app I see the following apparent errors (filtering on errors). They don't appear to be errors though.
Answer by @chughts (12979) | Aug 02, 2017 at 05:17 AM
They are info messages. If they are showing up as errors then the application is logging them incorrectly. The 200 status codes are ok. The 400 is because there is no favicon.ico route or image.
This is from the sample Python runtime app provided in the Bluemix catalog. I understand the favicon.ico message. The sample really ought to be updated to fix this.
The messages are coming from the Flask runtime. The following statements will suppress them:
log = logging.getLogger('werkzeug')
log.setLevel(logging.INFO)
Python on Bluemix - Error App staging failed in the buildpack compile phase at Deploy 3 Answers
Manifest.yml error when deploying communitysample | mysql-python sample 3 Answers
App staging failed in the buildpack compile phase 1 Answer
'NoneType' object has no attribute 'binary_message" Watson Speech-to-Text using Websockets 1 Answer
Error 501 for Python App 1 Answer