Moved debug middleware to develop_settings
Removed logging