feat(middleware): add file logs
Merge branch 'dev'