Created
April 6, 2015 16:52
-
-
Save trevorrowe/c307eb86f59a22fd32ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pattern = "[aws] [:client_class] operation=:operation duration=:time retries=:retries error=:error_class\n" | |
Aws.config[:log_formatter] = Seahorse::Client::Logging::Formatter.new(pattern) | |
# success | |
[aws] [Aws::S3::Client] operation=list_buckets duration=0.602057 retries=0 error= | |
# error | |
[aws] [Aws::S3::Client] operation=head_bucket duration=1.100552 retries=0 error=Aws::S3::Errors::Forbidden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment