Skip to content

Commit

Permalink
Add LOG_LEVEL environment variable for controlling logging level (#18)
Browse files Browse the repository at this point in the history
Patch: Add LOG_LEVEL environment variable
  • Loading branch information
mcbanderson committed Mar 21, 2020
1 parent ec98756 commit f4a890f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reflex_core/aws_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
from reflex_core.notifiers import SNSNotifier


LOG_LEVEL = os.environ.get("LOG_LEVEL", "INFO").upper()
logging.basicConfig(level=LOG_LEVEL)


class AWSRule:
""" Generic class for AWS compliance rules """

Expand Down

0 comments on commit f4a890f

Please sign in to comment.