refactor common logic in logger
each request generates new uuid