Fix excessive logging