logging cleaned