Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Conversation

@backnight
Copy link
Contributor

Allow to define a rule to expire logs after X days

@achille-roussel
Copy link
Contributor

I'm concerned about this change since the previous value was to not expire the logs at all, this would implicitly change everyone's logs expiration.

Could we keep the default behavior unchanged while still allowing the value to be configured (from reading the TF docs it's not straightforward how to achieve that).

@backnight
Copy link
Contributor Author

Hello @achille-roussel,

The default behavior is kept.

I added 2 vars :

  • logs_expiration_enabled : false by default
  • logs_expiration_days : 30 by default

So by default there is no logs expiration ;)

@achille-roussel
Copy link
Contributor

Alright, sounds good to me! Thanks for your contribution!

@achille-roussel achille-roussel merged commit 1bf32b3 into segmentio:master Apr 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants