log requests only in dev mode