make logging level argument (default is info)