i have a django app, and inside it there is a "logs" folder, with ".gitignore",…
Jump to turn (10)
- 1i have a django app, and inside it there is a "logs" folder, with ".gitignore",
- 2i have a logging config set in my django app. I also added logger.debug("this is
- 3what's the difference between settings/dev.py and settings/prod.py?
- 4so if i run the app locally, the code in settings/dev.py should be run, right?
- 5if i have to iterate through a list of pages in python, what type of logging sho
- 6so if i have to log the creation of a directory, i should use info instead of de
- 7how to stop info logs from django.server?
- 8if i want to print the skew angle, that is debug instead of info, right?
- 9python f"current index: {}".format(idx) vs f"current index: {idx}"
- 10stuff like "there is a problem with the following row; will process it now" and
- User
i have a django app, and inside it there is a "logs" folder, with ".gitignore", "debug.log" and "warning.log" inside. how are this folder and its files created? should i manually create them and then they populate while running the app, or are they automatically created?
- Assistant