Guidelines for registering with the django project

It is always useful to use existing templates to solve this problem, rather than reinvent the wheel. This time we are talking about how to write materials to a project based on django.

Can you share your ideas with me and others about how you prefer to implement logging in a django-based project in the following context?

  • What factors could you consider before starting to design a logging system?
  • What would you like to enter the project? (messages, errors, request, etc.)?
  • How would you like to enter?
  • What should be the directory structure?
  • What format do you want to register in?
  • What django apps do you use?
  • Do you make any such reusable apps? if so, can you share with others?
  • Or any other idea that you find useful for sharing with others.

... Any little help would be really good for all django developers ...

amuses

+7
python django logging
source share
1 answer

In Django, as in any other Python application, I would use the standard logging module and call logging.debug , logging.info , etc., depending on each message. Most of the seven questions you asked are related to your Q-heading - โ€œask one question per questionโ€ - this is one of the key Stack Overflow mantras! Just open a lot of questions for your many questions and don't let this focus on registration, OK? -)

+6
source share

All Articles