Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Changed info log level to debug log level for debug logs (#197)
Browse files Browse the repository at this point in the history
* Changed info log level to debug log level for debug logs

* Update token_request.py

Per request of markmabe: #197 (comment)
  • Loading branch information
DevSecNinja authored and rayluo committed Apr 16, 2019
1 parent c161862 commit c9f3c80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions adal/token_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _parse_wstrust_version_from_federation_active_authurl(federation_active_auth
return WSTrustVersion.UNDEFINED

def get_token_with_username_password(self, username, password):
self._log.info("Acquiring token with username password.")
self._log.debug("Acquiring token with username password.")
self._user_id = username
try:
token = self._find_token_from_cache()
Expand Down Expand Up @@ -296,7 +296,7 @@ def get_token_with_username_password(self, username, password):
return token

def get_token_with_client_credentials(self, client_secret):
self._log.info("Getting token with client credentials.")
self._log.debug("Getting token with client credentials.")
try:
token = self._find_token_from_cache()
if token:
Expand Down
2 changes: 1 addition & 1 deletion adal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def create_request_options(self, *options):

def log_return_correlation_id(log, operation_message, response):
if response and response.headers and response.headers.get('client-request-id'):
log.info("{} Server returned this correlation_id: {}".format(
log.debug("{} Server returned this correlation_id: {}".format(
operation_message,
response.headers['client-request-id']))

Expand Down

0 comments on commit c9f3c80

Please sign in to comment.