Only activate debug logging in dev mode