Reputation: 8806
I have a python application running on bluemix using python flask boilerplate. Is there any service I can use to have logging mechanism working for my application? Simple customized debug messages to debug my application?
Upvotes: 2
Views: 331
Reputation: 3233
Bluemix provides the Monitoring and Analytics service, but unfortunately for now it supports Liberty, Node.js, and Ruby-based applications. I think the best way is to use custom messages. Usually the Python developers use the Logging module, that has been a part of Python’s Standard Library since version 2.3. You could take a look at the basic Logging how-to. You will get the logs using the command:
cf logs <appName> --recent
Upvotes: 1