Fix for log directory