Reputation: 26425
It is always good to utilize existing patterns for solving the given problem rather then reinventing the wheel. This time it is about doing logging stuffs in django based project.
Can you please share your ideas with me and other about how do you prefer to implement logging in django based project in the following context?
... Any little help would be really good for all django developers ...
cheers
Upvotes: 9
Views: 5984
Reputation: 881527
In Django, like in any other Python application, I'd use the standard library's logging
module and call logging.debug
, logging.info
etc as appropriate to each message.
Upvotes: 7