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

feat: retain logs for x weeks #1235

Merged
merged 34 commits into from Sep 7, 2023
Merged

feat: retain logs for x weeks #1235

merged 34 commits into from Sep 7, 2023

Conversation

tedim52
Copy link
Contributor

@tedim52 tedim52 commented Sep 5, 2023

Description:

This PR is the final PR in centralized logging v0 over Docker. Specifically,

It implements basic log retention by retaining logs for 5 weeks and removing logs older than that period. (To support pulling logs from enclaves created prior to this feature until all users are migrated, pull strategy is based on the enclaves creation time. Although, logs created prior to this feature will not be removed via log retention.)

Overall, this allows users to retrieve logs from services in long running enclaves up to 4 weeks prior.

Is this change user facing?

YES

@tedim52 tedim52 requested a review from gbouv September 5, 2023 04:03
@tedim52 tedim52 requested a review from gbouv September 6, 2023 05:09
@tedim52 tedim52 requested a review from gbouv September 6, 2023 14:59
@tedim52 tedim52 merged commit 5f50c8c into main Sep 7, 2023
34 checks passed
@tedim52 tedim52 deleted the tedi/log-retention branch September 7, 2023 14:04
leeederek pushed a commit that referenced this pull request Sep 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.82.22](0.82.21...0.82.22)
(2023-09-11)


### Features

* always pull latest image
([#1267](#1267))
([6706809](6706809))
* CLI run command option to disable user services port forwarding
([#1252](#1252))
([1c94378](1c94378)),
closes [#1236](#1236)
* retain logs for x weeks
([#1235](#1235))
([5f50c8c](5f50c8c))


### Bug Fixes

* inline upgrade warning
([#1254](#1254))
([33ef03a](33ef03a)),
closes [#1244](#1244)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants