FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Configurable number of rotated log files by doominator42 · Pull Request #3907 · docker-mailserver/docker-mailserver · GitHub

feat: Configurable number of rotated log files - #3907

Merged
georglauterbach merged 2 commits into
docker-mailserver:masterfrom
doominator42:master
Feb 28, 2024
Merged

feat: Configurable number of rotated log files#3907
georglauterbach merged 2 commits into
docker-mailserver:masterfrom
doominator42:master

Conversation

doominator42 commented Feb 24, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Description

Since there is the variable LOGROTATE_INTERVAL, it would be useful to be able to adjust the number of files kept by logrotate, so I added LOGROTATE_COUNT.

Type of change

  • Improvement (non-breaking change that does improve existing functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary, I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added information about changes made in this PR to CHANGELOG.md

Copy link
Copy Markdown
Contributor Author

I was not sure about the format of the CHANGELOG, should I add a section Added with my change or add it under Updates?

Copy link
Copy Markdown
Member

Added is good for new features 👍

Added the environment variable LOGROTATE_COUNT (defaults to 4)

Copy link
Copy Markdown
Contributor Author

I added my change to the CHANGELOG, this PR is now ready for review.

casperklein added this to the v14.0.0 milestone Feb 25, 2024
casperklein added the kind/new feature A new feature is requested in this issue or implemeted with this PR label Feb 25, 2024

georglauterbach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM 👍

Copy link
Copy Markdown
Contributor

Documentation preview for this PR is ready! 🎉

Built with commit: aabea61

georglauterbach merged commit 512f39c into docker-mailserver:master Feb 28, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/new feature A new feature is requested in this issue or implemeted with this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL