#30554: Excessive logging by autoreload in v 2.2.1 and 2.2.2
-----------------------------------------+------------------------
               Reporter:  Phoebe Bright  |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  2.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 With these two versions I get over 3000 lines of logging by autoreload.py.
 It looks like this::


 {{{
     DEBUG 2019-06-07 09:47:15,927 autoreload Watching dir
 /Users/phoebe/venv/skorie3/lib/python3.6/site-
 packages/import_export/locale with glob **/*.mo.
     DEBUG 2019-06-07 09:47:15,939 autoreload Watching dir
 /Users/phoebe/venv/skorie3/lib/python3.6/site-packages/imagekit/locale
 with glob **/*.mo.
     DEBUG 2019-06-07 09:47:15,945 autoreload Watching dir
 /Users/phoebe/venv/skorie3/lib/python3.6/site-
 packages/django_social_share/locale with glob **/*.mo.
     DEBUG 2019-06-07 09:47:15,953 autoreload Watching dir
 /Users/phoebe/Development/skorie/obstacles/locale with glob **/*.mo.
     System check identified no issues (0 silenced).
     June 07, 2019 - 09:47:18
     Django version 2.2.2, using settings 'config.settings'
     Starting development server at http://127.0.0.1:8000/
     Quit the server with CONTROL-C.
     DEBUG 2019-06-07 09:47:18,990 autoreload File
 /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-
 dynload/_decimal.cpython-36m-darwin.so first seen with mtime 1545635091.0
     DEBUG 2019-06-07 09:47:18,996 autoreload File
 /Users/phoebe/venv/skorie3/lib/python3.6/site-
 packages/tablib/packages/__init__.py first seen with mtime
 1559667881.475002
     DEBUG 2019-06-07 09:47:18,996 autoreload File
 /Users/phoebe/venv/skorie3/lib/python3.6/site-
 packages/reportlab/pdfbase/ttfonts.py first seen with mtime
 1559667875.595854
     DEBUG 2019-06-07 09:47:18,996 autoreload File
 /Users/phoebe/venv/skorie3/lib/python3.6/site-
 packages/stripe/api_resources/sku.py first seen with mtime
 1559667881.135201
 }}}

 3000 more lines like this follow.

 Downgrading back to 2.2 and the logging is not displayed. The change was
 made here to add logging:
 
https://github.com/django/django/commit/6754bffa2b2df15a741008aa611c1bb0e8dff22b

 Is there a way, or could a way be added, to turn this logging off?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30554>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.bc81bbdb8e26fa1e46e1a6fd9c84b75d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to