Fix #6031.  Allow symbolic log levels, not just numbers.