codec
codec

Reputation: 8806

Bluemix logging for python applications

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

Answers (1)

Umberto Manganiello
Umberto Manganiello

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

Related Questions