read loglevel from argv