logdna / logdna-cloudwatch

AWS Lambda for logging from CloudWatch into LogDNA
MIT License
12 stars 19 forks source link

fix: set hostname to `meta.log.group` if `raw_event` is enabled #25

Closed smusali closed 4 years ago

smusali commented 4 years ago

According to this issue, when raw_event is enabled, trying to parse the line is causing problem. This Pull Request addresses #24

Ref: LOG-6995 Semver: patch

ghost commented 4 years ago

Is it possible to add test for this?

smusali commented 4 years ago

Is it possible to add test for this?

@ydshah2, we can separately add nock tests but once @logdna/logger-node gets released, we are planning to use that in this; so, it will require refactor and adding more coverage as well.