Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rcastley committed Oct 12, 2024
1 parent a1a8db3 commit b61f339
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/accounts/userservice/userservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ def login():
# Assuming the public key bit size has been set in app.config['PUBLIC_KEY_BIT_SIZE']
public_key_bit_size = app.config.get('PUBLIC_KEY_BIT_SIZE', None)
encode_span.set_attribute("public_key_bit_size", public_key_bit_size)
if public_key_bit_size > 512:
app.logger.error("Public key bit size is greater than 512 bits.")
else:
app.logger.info("Public key bit size equal to 512 bits.")

# Log the success of the JWT generation
jwt_span.set_attribute("jwt.success", True)
Expand Down

0 comments on commit b61f339

Please sign in to comment.