Changed local log configuration to remove debug messages from middleware
Assorted cleanup