python django app settings log level
<p>I am new to python and Django. My changes in app/settings.py are not picking up. I have changed the log level 
FROM:</p>

<pre><code>LOGGING = {
'version': 1,
...
'handlers': {
    'mail_admins': {
        'level': 'ERROR',
        'filters': ['require_debug_false'],
        'class': 'django.utils.log.AdminEmailHandler'
    }
},

'loggers': {
    'django.request': {
        'handlers': ['mail_admins'],
        'level': 'ERROR',
        'propagate': True,
    },
}
}
</code></pre>

<p>TO</p>

<pre><code>LOGGING = {
'version': 1,
...

 'handlers': {
    'file': {
        'level': 'DEBUG',
        'class': 'logging.FileHandler',
        'filename': '/var/log/django/debug.log'
     }
 },

 'loggers': {
    'django.request': {
        'handlers': ['file'],
        'level': 'DEBUG',
        'propagate': True,
     },
 }
} 
</code></pre>

<p>but changes are not picking up as I don't see any activity on log despite actions on app. How could I tell Django that settings are updated and reload it?</p>

<p>You need to restart the web server for it to pick up changes in your app.</p>

python django