converting logging to llimllib/loglevel