fixing build failure for logging record