Create a log directory if there isn't one.