Closed KiNgMaR closed 4 years ago
Two findings so far:
CloudWatch
handler for multiple log targets in Symfony.Possible solution, seeing that this might be an AWS-specific problem:
Workarounds:
I wasn't able to figure out exactly why Symfony (or Monolog) would submit entries not already sorted chronologically, but in the end it does not matter: the requirement for submitting entries chronologically sorted seems to be a peculiarity of AWS CloudWatch logs, and therefore treating that issue within a CloudWatch-specific library seems appropriate.
I opened a PR with sort logic implemented which (at least for me) fixes the problem. Feedback appreciated :)
Re-creating a new entry for the problem explained in #32, because the fix there had to be reverted and the exception is still occurring. I'm also investigating libraries for other languages for potential fixes.
Timestamps in my case look e.g. like this: