Update loglevel to log.level