Fixed bug where production level logging was causing routing issues