Creates Log Directories and erases empty directories