Moved debug middleware to develop_settings
Removed logging
Merge remote-tracking branch 'origin/develop' into develop