You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For consistency with Python's logging config (and to avoid having to import logging into settings), we should probably allow the REQUEST_LOGGING_DATA_LOG_LEVEL and REQUEST_LOGGING_HTTP_4XX_LOG_LEVEL settings to be set as strings ("INFO" etc) as well as the enum values from logging (logging.INFO etc).
The text was updated successfully, but these errors were encountered:
This seems related with #47 since it introduces with new settings.
I'm actually positive with introducing a set of project-level settings, as long as well-written documentation is provided!
I don't really see a crossover as #47 doesn't seem to need a setting, but I am ok in general with the idea of making a package-level settings like Django Rest Framework or Debug Toolbar rather than a series of individual REQUEST_LOGGER_X settings if that's what you mean. OTOH, backwards compatibility would be a concern.
For consistency with Python's logging config (and to avoid having to import
logging
into settings), we should probably allow theREQUEST_LOGGING_DATA_LOG_LEVEL
andREQUEST_LOGGING_HTTP_4XX_LOG_LEVEL
settings to be set as strings ("INFO"
etc) as well as the enum values from logging (logging.INFO
etc).The text was updated successfully, but these errors were encountered: