Is there a reason to do it on the directory instead of when creating the log file?