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

Allow to set file permission on haproxy.log file #37

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

bmm-alc
Copy link
Contributor

@bmm-alc bmm-alc commented Apr 10, 2024

Description

The patch allows to define the permissions when rsyslog writes the log file.
I use it on a copy of the repo for years and forgot to submit it.

Related Issue

need to allow other tooling to read the file (ex: promtail)
perhaps that would be better to set permissions to 0600

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly. (I did not find a documentation file to update)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

The patch allows to define the permissions when rsyslog writes the log
file.
@mrlesmithjr mrlesmithjr merged commit 845e630 into mrlesmithjr:master Apr 10, 2024
8 checks passed
@bmm-alc
Copy link
Contributor Author

bmm-alc commented Apr 11, 2024

Thanks for merging this, do you plan a release in a short time, so I can ditch my copy ? :)

@bmm-alc
Copy link
Contributor Author

bmm-alc commented Apr 11, 2024

actuallyou did a release, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants