We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e532263 commit b2adbeeCopy full SHA for b2adbee
lib/dynamoid/adapter_plugin/aws_sdk_v3.rb
@@ -114,8 +114,9 @@ def connection_config
114
115
# https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/lib/aws-sdk-core/plugins/logging.rb
116
# https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/lib/aws-sdk-core/log/formatter.rb
117
- default_formatter = Aws::Log::Formatter.new(':operation | Request :http_request_body | Response :http_response_body')
118
- @connection_hash[:log_formatter] = Dynamoid::Config.log_formatter || default_formatter
+ if Dynamoid::Config.log_formatter
+ @connection_hash[:log_formatter] = Dynamoid::Config.log_formatter
119
+ end
120
121
@connection_hash
122
end
0 commit comments