Logging minor improvement