About logging in a development environment

See also About logging.

On my development machine I have a runserver script which does:

set LINO_LOGLEVEL=DEBUG
python manage.py runserver

Showing SQL statements

lino.core.site.Site.setup_logging() sets the level for the django.db.backends handler to WARNING.

A similar thing happens for the schedule handler.

TODO: how to override or change these hard-coded logger configurations?