diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-05 18:30:11 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-05 19:37:01 -0500 |
| commit | bbe28496d32f76ca161f5c33787d6ad62267fcc6 (patch) | |
| tree | a9fc3d4d583553150c4e404b4ecc270154d6ca28 /django/utils/log.py | |
| parent | 0f54cf28c09a80254571487e3af93be2096cfdac (diff) | |
Removed old import aliases.
Diffstat (limited to 'django/utils/log.py')
| -rw-r--r-- | django/utils/log.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/django/utils/log.py b/django/utils/log.py index fc350e0b5e..af72bb0447 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -12,10 +12,6 @@ from django.utils.encoding import force_text from django.utils.module_loading import import_string from django.views.debug import ExceptionReporter, get_exception_reporter_filter -# Imports kept for backwards-compatibility in Django 1.7. -from logging import NullHandler # NOQA -from logging.config import dictConfig # NOQA - getLogger = logging.getLogger # Default logging for Django. This sends an email to the site admins on every @@ -80,7 +76,7 @@ def configure_logging(logging_config, logging_settings): # First find the logging configuration function ... logging_config_func = import_string(logging_config) - dictConfig(DEFAULT_LOGGING) + logging.config.dictConfig(DEFAULT_LOGGING) # ... then invoke it with the logging settings if logging_settings: |
