Skip to content

Commit

Permalink
Change gql logging without creating a variable
Browse files Browse the repository at this point in the history
Co-authored-by: Mathis Ribet <[email protected]>
  • Loading branch information
Solvik and ribetm authored Aug 14, 2024
1 parent f732e77 commit 45b1227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gitlab2rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
level=environ.get("LOGLEVEL", "INFO").upper(),
)

logger = logging.getLogger("gql")
logger.setLevel(logging.WARNING)
logging.getLogger("gql").setLevel(logging.WARNING)


class GitlabHelper(object):
Expand Down

0 comments on commit 45b1227

Please sign in to comment.