1 Answer
- Newest
- Most votes
- Most comments
0
You need to set a handler or set basic config. If you direct the logs to stdout, they will appear in the component log.
logger.addHandler(logging.StreamHandler(sys.stdout))
# or
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
Or you could send them to a different file by using a FileHandler instead of a StreamHandler.
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a month ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v2 API?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 10 months ago