Skip to content

Commit

Permalink
fix: update default log level in lambda function
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanfreitagrwe authored and stefanfreitag committed Aug 28, 2024
1 parent 245d59d commit bda8b66
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions functions/check-fsx-status/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
import boto3
import os

logging.basicConfig(
level=logging.INFO, format="%(asctime)s - %(levelname)s - %(name)s - %(message)s"
)
logger = logging.getLogger(__name__)

logger.setLevel(logging.INFO)

try:
ENABLE_CLOUDWATCH_METRICS = os.environ["ENABLE_CLOUDWATCH_METRICS"]
Expand Down

0 comments on commit bda8b66

Please sign in to comment.