Creating a directory for log files.