make opt parser check log levels