Skip to content

Commit

Permalink
chore: test just level set
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss authored Oct 12, 2023
1 parent a81a0a9 commit a3062f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roshambo-ai/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

log_level = os.getenv("LOG_LEVEL", "INFO").upper()

formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
handler = logging.StreamHandler()
handler.setFormatter(formatter)
application.logger.addHandler(handler)
//formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
//handler = logging.StreamHandler()
//handler.setFormatter(formatter)
//application.logger.addHandler(handler)
application.logger.setLevel(log_level)

@application.route('/')
Expand Down

0 comments on commit a3062f7

Please sign in to comment.