Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add exit on eof flag to logreader #351

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Oct 21, 2024

No description provided.

@bazsi bazsi force-pushed the add-exit-on-eof-flag-to-logreader branch from 7c6075a to 4fd5573 Compare October 24, 2024 01:36
@alltilla alltilla force-pushed the add-exit-on-eof-flag-to-logreader branch from 4fd5573 to 5ba12e5 Compare October 24, 2024 11:45
@alltilla
Copy link
Member

@bazsi
I have extracted the last commit and rebased it to main.
Your previous version can be found here, if we want to revert to it: https://github.com/alltilla/axosyslog/tree/bazsi-add-exit-on-eof-flag-to-logreader

@bazsi bazsi force-pushed the add-exit-on-eof-flag-to-logreader branch from 5ba12e5 to 8949ea5 Compare October 27, 2024 11:30
With the exit-on-eof flag, you can request syslog-ng to exit whenever the
first EOF is hit on the specific source, similarly to how the stdin() source
behaves.

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
@bazsi bazsi force-pushed the add-exit-on-eof-flag-to-logreader branch from 8949ea5 to fb3e52a Compare November 5, 2024 09:58
@MrAnno MrAnno merged commit 9aa7142 into axoflow:main Nov 5, 2024
22 checks passed
@MrAnno
Copy link
Member

MrAnno commented Nov 5, 2024

(We'll need to add a news entry, the flag seems useful in general)

fekete-robert pushed a commit to axoflow/axosyslog-core-docs that referenced this pull request Nov 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants