Creating date-based subdirectories to save logs.