Make sure dir exists for log config