Skip to content

Commit 8103237

Browse files
kevinjqliurambleraptor
authored andcommitted
use logger
1 parent ee587fa commit 8103237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyiceberg/catalog/rest/auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from pyiceberg.exceptions import OAuthError
2929

3030
COLON = ":"
31+
logger = logging.getLogger(__name__)
3132

3233

3334
class AuthManager(ABC):
@@ -140,7 +141,7 @@ def __init__(self, credentials_path: Optional[str] = None, scopes: Optional[List
140141
if credentials_path:
141142
self.credentials, _ = google.auth.load_credentials_from_file(credentials_path, scopes=scopes)
142143
else:
143-
logging.info("Using Google Default Application Credentials")
144+
logger.info("Using Google Default Application Credentials")
144145
self.credentials, _ = google.auth.default(scopes=scopes)
145146
self._auth_request = google.auth.transport.requests.Request()
146147

0 commit comments

Comments
 (0)