[Logging] Using attributes more widely.