add log directory and files