Update logging in utils