Skip to content

Don't Ignore Custom Formatters + Version Bump to 3.1.2 #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE.CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Jun 6, 2025
`3.1.2`
- Don't Ignore Custom Formatters. ([#49](https://github.com/aws/aws-lambda-ruby-runtime-interface-client/pull/49))

### Jun 5, 2025
`3.1.1`
- Fix Logger Formatting override being ignored. ([#47](https://github.com/aws/aws-lambda-ruby-runtime-interface-client/pull/47))
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_lambda_ric/logger_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def initialize(logdev, shift_age = 0, shift_size = 1048576, level: 'debug',
# use unpatched constructor if logdev is a filename or an IO Object other than $stdout or $stderr
if !logdev || logdev == $stdout || logdev == $stderr
logdev_lambda_override = AwsLambdaRIC::TelemetryLogger.telemetry_log_sink
formatter_override = LogFormatter.new
formatter_override = formatter_override || LogFormatter.new
end

super(logdev_lambda_override, shift_age, shift_size, level: level, progname: progname,
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_lambda_ric/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AwsLambdaRIC
VERSION = '3.1.1'
VERSION = '3.1.2'
end