logging options in boto3 set_stream_logger

0

I'm trying to find out what the various logging levels are and what they mean. I can't find that anywhere. Can someone please help me on this? I know I can do the following, but that will log everything. boto3.set_stream_logger(''). Also, why don't you have a boto3 or AWS SDK or AWS SDK for python tag?

質問済み 2年前694ビュー
1回答
0
承認された回答

The AWS SDK for Python (Boto3) uses the standard Python logging module, so you're most likely to find helpful insights by referencing the official Python docs as well as articles that cover logging generally.

Here's a direct link to the detail on pre-defined logging levels described in the Python docs.

The Python docs don't really provide guidance on when the various log levels should be used. One resource I've found personally useful in understanding logging best practices—including what log levels mean—is the article, "The 10 commandments of logging".

profile pictureAWS
Kris
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ