Commit 62e533a
authored
fix fluent-bit log in cloudwatch is duplicated on instance reboot (#271)
*Issue #, if available:*
*Description of changes:*
We now store the cursor position in file system so that it is not reset
on every reboot.
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.1 parent 4f3afae commit 62e533a
File tree
2 files changed
+30
-12
lines changed- cdk
- lib/constructs/worker
- test/__snapshots__
2 files changed
+30
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | | - | |
379 | | - | |
380 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
381 | 384 | | |
382 | 385 | | |
383 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4592 | 4592 | | |
4593 | 4593 | | |
4594 | 4594 | | |
| 4595 | + | |
| 4596 | + | |
4595 | 4597 | | |
4596 | 4598 | | |
4597 | 4599 | | |
| |||
4603 | 4605 | | |
4604 | 4606 | | |
4605 | 4607 | | |
| 4608 | + | |
| 4609 | + | |
4606 | 4610 | | |
4607 | 4611 | | |
4608 | 4612 | | |
4609 | | - | |
| 4613 | + | |
| 4614 | + | |
| 4615 | + | |
4610 | 4616 | | |
4611 | | - | |
| 4617 | + | |
4612 | 4618 | | |
4613 | | - | |
| 4619 | + | |
4614 | 4620 | | |
4615 | 4621 | | |
4616 | 4622 | | |
| |||
5305 | 5311 | | |
5306 | 5312 | | |
5307 | 5313 | | |
| 5314 | + | |
| 5315 | + | |
5308 | 5316 | | |
5309 | 5317 | | |
5310 | 5318 | | |
| |||
5316 | 5324 | | |
5317 | 5325 | | |
5318 | 5326 | | |
| 5327 | + | |
| 5328 | + | |
5319 | 5329 | | |
5320 | 5330 | | |
5321 | 5331 | | |
5322 | | - | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
5323 | 5335 | | |
5324 | | - | |
| 5336 | + | |
5325 | 5337 | | |
5326 | | - | |
| 5338 | + | |
5327 | 5339 | | |
5328 | 5340 | | |
5329 | 5341 | | |
| |||
5718 | 5730 | | |
5719 | 5731 | | |
5720 | 5732 | | |
| 5733 | + | |
5721 | 5734 | | |
5722 | 5735 | | |
5723 | 5736 | | |
5724 | 5737 | | |
5725 | 5738 | | |
5726 | 5739 | | |
| 5740 | + | |
5727 | 5741 | | |
5728 | 5742 | | |
5729 | | - | |
5730 | | - | |
5731 | | - | |
| 5743 | + | |
| 5744 | + | |
| 5745 | + | |
| 5746 | + | |
5732 | 5747 | | |
5733 | 5748 | | |
5734 | 5749 | | |
| |||
0 commit comments