cleanup logging file