rebuild logging