Skip to content

Enable Darwin OSLog log-fetch-limit()#5547

Merged
HofiOne merged 8 commits intosyslog-ng:developfrom
HofiOne:oslog-batch-close
Oct 27, 2025
Merged

Enable Darwin OSLog log-fetch-limit()#5547
HofiOne merged 8 commits intosyslog-ng:developfrom
HofiOne:oslog-batch-close

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Oct 23, 2025

  • re-enabled the log-fetch-limit() option that allows batched message forwarding in the log path
  • fetch-delay() and fetch-retry-delay() now both got log- prefix, old keywords are kept but marked as deprecated
  • using now the less resource-consuming main_loop_worker_wait_for_exit_until() instead of self-scheduled usleeps, and the already presented main_loop_worker_job_quit() instead of a separately maintained exit requested flag

Depends on: #5546
Doc: syslog-ng/syslog-ng.github.io#255

@HofiOne HofiOne marked this pull request as ready for review October 23, 2025 09:38
HofiOne added a commit to HofiOne/syslog-ng.github.io that referenced this pull request Oct 23, 2025
HofiOne added a commit to HofiOne/syslog-ng.github.io that referenced this pull request Oct 23, 2025
HofiOne added a commit to HofiOne/syslog-ng.github.io that referenced this pull request Oct 23, 2025
@HofiOne HofiOne force-pushed the oslog-batch-close branch 5 times, most recently from 94a09d1 to 8690646 Compare October 26, 2025 15:11
@kira-syslogng
Copy link
Contributor

Build FAILURE

@github-actions
Copy link
Contributor

This Pull Request introduces config grammar changes

syslog-ng/de7a817e36c66d2b8f2d720e0ea2c06045e03251 -> HofiOne/oslog-batch-close

Details
--- a/source
+++ b/source

 darwinosl(
     fetch-delay(
-        <positive-integer>
+        <nonnegative-integer>
     )
+    log-fetch-delay(<nonnegative-integer>)
+    log-fetch-limit(<nonnegative-integer>)
+    log-fetch-retry-delay(<nonnegative-integer>)
 )

…exit_until instead of self-scheduled usleeps, and the already presented main_loop_worker_job_quit() instead of separate maintained exit requested flag

Signed-off-by: Hofi <[email protected]>
…th `log_` prefix, treat the old ones deprecated

Signed-off-by: Hofi <[email protected]>
@HofiOne HofiOne merged commit bfdb5d2 into syslog-ng:develop Oct 27, 2025
0 of 78 checks passed
@HofiOne HofiOne deleted the oslog-batch-close branch October 27, 2025 09:13
@kira-syslogng
Copy link
Contributor

Build FAILURE

HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 28, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Oct 29, 2025
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.

3 participants