temporary patch for logging