add log directory