cloudwatchlogger icon indicating copy to clipboard operation
cloudwatchlogger copied to clipboard

Hash logger logs as string

Open mbajur opened this issue 4 years ago • 1 comments

Hello!

According to a section in Readme, i should be able to convert hash to cloudwatch "tags". So using Rails.logger.info :boom => :box should produce a x=y, z=q, boom=boxlog entry. However, it produces a following entry:

image

So basically hash gets converted into a string and gets logged as a regular @message. Am i doing something wrong? That's my first contact with CloudWatch as a rails logging provider so maybe i misunderstand something. Thanks in advance for any help!

mbajur avatar Jan 09 '21 16:01 mbajur

@mbajur sorry for bumping this after so long but were you able to solve this ?

felipebruges avatar Nov 04 '22 13:11 felipebruges