Skip to content

Commit

Permalink
update logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
colorzzr committed Feb 6, 2025
1 parent c579366 commit 8a6c09b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/configs/user_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def api_key(self):

start_time = time.time()
api_key = decryption(self.config['USER']['api_key'], self.secret)
logging.info(f'api_key decryption time: {time.time() - start_time}')
logging.critical(f'api_key decryption time: {time.time() - start_time}')
return api_key

@api_key.setter
Expand All @@ -183,7 +183,7 @@ def access_token(self):

start_time = time.time()
access_token = decryption(self.config['USER']['access_token'], self.secret)
logging.info(f'access_token decryption time: {time.time() - start_time}')
logging.critical(f'access_token decryption time: {time.time() - start_time}')
return access_token

@access_token.setter
Expand All @@ -197,7 +197,7 @@ def refresh_token(self):

start_time = time.time()
refresh_token = decryption(self.config['USER']['refresh_token'], self.secret)
logging.info(f'refresh_token decryption time: {time.time() - start_time}')
logging.critical(f'refresh_token decryption time: {time.time() - start_time}')
return refresh_token

@refresh_token.setter
Expand Down

0 comments on commit 8a6c09b

Please sign in to comment.