Page MenuHomeSoftware Heritage

settings/common: Set 'django.utils.autoreload' log level to INFO
ClosedPublic

Authored by anlambert on Jan 22 2020, 5:14 PM.

Details

Summary

Since Django 2.2, the debug log is polluted by numerous useless messages coming
from the 'django.utils.autoreload' module:

...
22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/auth/migrations/0005_alter_user_last_login_null.py first seen with mtime 1579709625.5987837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/lxml/_elementpath.cpython-37m-x86_64-linux-gnu.so first seen with mtime 1572947838.2589307
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/soupsieve/__init__.py first seen with mtime 1572947843.3831565
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/middleware/security.py first seen with mtime 1579709625.8707838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/htmlmin/python3html/__init__.py first seen with mtime 1572947837.922916
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/auth/migrations/0009_alter_user_last_name_max_length.py first seen with mtime 1579709625.602784
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/templatetags/tz.py first seen with mtime 1579709625.8747838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/htmlmin/main.py first seen with mtime 1572947837.922916
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/htmlmin/__init__.py first seen with mtime 1572947837.9189157
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/middleware/clickjacking.py first seen with mtime 1579709625.8707838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/db/models/sql/compiler.py first seen with mtime 1579709625.8627837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/auth/backends.py first seen with mtime 1579709625.566784
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/migrations/0001_initial.py first seen with mtime 1579170440.5511858
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/messages/middleware.py first seen with mtime 1579709625.7467837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/bs4/element.py first seen with mtime 1572947835.2427988
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/middlewares.py first seen with mtime 1579524421.3595757
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/soupsieve/util.py first seen with mtime 1572947843.3871567
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/middleware/gzip.py first seen with mtime 1579709625.8707838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/migrations/__init__.py first seen with mtime 1579170440.555186
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/htmlmin/python3html/parser.py first seen with mtime 1572947837.922916
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/db/migrations/executor.py first seen with mtime 1579709625.8507838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/webpack_loader/loader.py first seen with mtime 1572947837.6869056
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/admin/templatetags/admin_list.py first seen with mtime 1579709625.5387838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/migrations/0006_rename_origin_type.py first seen with mtime 1579170440.555186
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/sessions/backends/base.py first seen with mtime 1579709625.7867837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/admin/templatetags/log.py first seen with mtime 1579709625.5387838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/soupsieve/css_match.py first seen with mtime 1572947843.3871567
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/bs4/builder/_htmlparser.py first seen with mtime 1572947835.246799
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/webpack_loader/exceptions.py first seen with mtime 1572947837.6869056
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django_js_reverse/templatetags/__init__.py first seen with mtime 1572947837.7549086
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/db/migrations/loader.py first seen with mtime 1579709625.8507838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/db/migrations/graph.py first seen with mtime 1579709625.8507838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/swh_templatetags.py first seen with mtime 1579524421.3635757
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/docutils/writers/html4css1/__init__.py first seen with mtime 1572947837.8589132
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/admin/migrations/0003_logentry_add_action_flag_choices.py first seen with mtime 1579709625.5147839
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/swh/swh-environment/swh-web/swh/web/common/migrations/0005_remove_duplicated_authorized_origins.py first seen with mtime 1579170440.555186
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/bs4/builder/__init__.py first seen with mtime 1572947835.2427988
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/docutils/writers/_html_base.py first seen with mtime 1572947837.8589132
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/sessions/migrations/0001_initial.py first seen with mtime 1579709625.8107836
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/sessions/backends/__init__.py first seen with mtime 1579709625.7867837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/staticfiles/templatetags/__init__.py first seen with mtime 1579709625.8307838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/staticfiles/templatetags/staticfiles.py first seen with mtime 1579709625.8307838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/docutils/utils/math/math2html.py first seen with mtime 1572947837.854913
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/templatetags/cache.py first seen with mtime 1579709625.8747838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/soupsieve/css_types.py first seen with mtime 1572947843.3871567
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/db/migrations/recorder.py first seen with mtime 1579709625.8547838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/docutils/utils/math/tex2mathml_extern.py first seen with mtime 1572947837.854913
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/docutils/utils/math/latex2mathml.py first seen with mtime 1572947837.854913
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/bs4/__init__.py first seen with mtime 1572947835.2427988
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/core/cache/utils.py first seen with mtime 1579709625.8347838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/sessions/exceptions.py first seen with mtime 1579709625.7867837
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/corsheaders/signals.py first seen with mtime 1574694902.6386328
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/admin/templatetags/base.py first seen with mtime 1579709625.5387838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/staticfiles/storage.py first seen with mtime 1579709625.8307838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/lxml/__init__.py first seen with mtime 1572947838.2629309
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/admin/views/main.py first seen with mtime 1579709625.5387838
[22/Jan/2020 16:14:12] [DEBUG] File /home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/django/contrib/auth/migrations/0004_alter_user_username_opts.py first seen with mtime 1579709625.5987837
...

So filter them out.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jan 22 2020, 5:17 PM
This revision was landed with ongoing or failed builds.Jan 22 2020, 5:20 PM
This revision was automatically updated to reflect the committed changes.