fix(middleware): create empty folder logs/