added cleaning of previous logs before current build.