setLevel

lsst.log.setLevel(loggername, level)