Refactored logging middleware folder location