Fix log config reading.