Skip to content
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

Hash logger logs as string #18

Open
mbajur opened this issue Jan 9, 2021 · 1 comment
Open

Hash logger logs as string #18

mbajur opened this issue Jan 9, 2021 · 1 comment

Comments

@mbajur
Copy link

mbajur commented Jan 9, 2021

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!

@felipebruges
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants