reformat logging settings
Merge pull request #1666 from ischneider/reformat-logging-settings

reformat logging settings
Update models.py