Initializes the instance - basically setting the formatter to None and the filter list to empty.
Create a low-level service client by name using the default session.
Create a resource service client by name using the default session.
Add a stream handler for the given name and level to the logging module.
By default, this logs all ibm_boto3 messages to stdout
.
>>> import ibm_boto3
>>> ibm_boto3.set_stream_logger('ibm_boto3.resources', logging.INFO)
For debugging purposes a good choice is to set the stream logger to ''
which is equivalent to saying “log everything”.
Warning
Be aware that when logging anything from 'ibm_botocore'
the full wire
trace will appear in your logs. If your payloads contain sensitive data
this should not be used in production.
name (string) – Log name
level (int) – Logging level, e.g. logging.INFO
format_string (str) – Log message format