Adds log directory.