modify logging file