more logging replacement