debug=True overrides log.level (doesn't make much sense otherwise)