Updating logging middleware to log elapsed time to console
Updated logging with path and method