logging middleware for development env