First usable function to create log dir. New structure introduced where needed.