indent logging and strip out auth tokens